public function JsonapiHelperInterface::updateRelationships in Entity Share 8
Same name and namespace in other branches
- 8.2 modules/entity_share_client/src/Service/JsonapiHelperInterface.php \Drupal\entity_share_client\Service\JsonapiHelperInterface::updateRelationships()
Create or update the entity reference field values of an entity.
TODO: Should this method be removed from the interface?
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity to update.
array $data: An array of data.
1 method overrides JsonapiHelperInterface::updateRelationships()
- JsonapiHelper::updateRelationships in modules/
entity_share_client/ src/ Service/ JsonapiHelper.php - Create or update the entity reference field values of an entity.
File
- modules/
entity_share_client/ src/ Service/ JsonapiHelperInterface.php, line 47
Class
- JsonapiHelperInterface
- Remote manager interface methods.
Namespace
Drupal\entity_share_client\ServiceCode
public function updateRelationships(ContentEntityInterface $entity, array $data);