public function JsonapiHelperInterface::updateRelationships in Entity Share 8.2
Same name and namespace in other branches
- 8 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.
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 49
Class
- JsonapiHelperInterface
- Jsonapi helper interface methods.
Namespace
Drupal\entity_share_client\ServiceCode
public function updateRelationships(ContentEntityInterface $entity, array $data);