Mercurial > hg > isophonics-drupal-site
comparison core/modules/serialization/tests/src/Kernel/EntityResolverTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
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 ], |