comparison core/modules/serialization/tests/src/Kernel/EntityResolverTest.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
68 'type' => [ 68 'type' => [
69 'href' => Url::fromUri('base:rest/type/entity_test_mulrev/entity_test_mulrev', ['absolute' => TRUE])->toString(), 69 'href' => Url::fromUri('base:rest/type/entity_test_mulrev/entity_test_mulrev', ['absolute' => TRUE])->toString(),
70 ], 70 ],
71 $field_uri => [ 71 $field_uri => [
72 [ 72 [
73 'href' => $entity->url(), 73 'href' => $entity->toUrl()->toString(),
74 ], 74 ],
75 ], 75 ],
76 ], 76 ],
77 '_embedded' => [ 77 '_embedded' => [
78 $field_uri => [ 78 $field_uri => [
79 [ 79 [
80 '_links' => [ 80 '_links' => [
81 'self' => $entity->url(), 81 'self' => $entity->toUrl()->toString(),
82 ], 82 ],
83 'uuid' => [ 83 'uuid' => [
84 [ 84 [
85 'value' => $entity->uuid(), 85 'value' => $entity->uuid(),
86 ], 86 ],