],
],
],
];
} /**
* {@inheritdoc}
*/
protected function getExpectedGetRelationshipDocumentData($relationship_field_name, EntityInterface
$entity = NULL
) { $data = parent::
getExpectedGetRelationshipDocumentData($relationship_field_name,
$entity);
if ($relationship_field_name === 'parent'
) { $data =
[ 0 =>
[ 'id' => 'virtual',
'type' => 'taxonomy_term--camelids',
'meta' =>
[ 'links' =>
[ 'help' =>
[ 'href' => 'https://www.drupal.org/docs/8/modules/json-api/core-concepts#virtual',
'meta' =>
[ 'about' => "Usage and meaning of the 'virtual' resource identifier.",
],