You are here

public function JsonapiHelperInterface::handlePhysicalFiles in Entity Share 8

Same name and namespace in other branches
  1. 8.2 modules/entity_share_client/src/Service/JsonapiHelperInterface.php \Drupal\entity_share_client\Service\JsonapiHelperInterface::handlePhysicalFiles()

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. Can be modified to change the URI if needed.

1 method overrides JsonapiHelperInterface::handlePhysicalFiles()
JsonapiHelper::handlePhysicalFiles 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 59

Class

JsonapiHelperInterface
Remote manager interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function handlePhysicalFiles(ContentEntityInterface $entity, array &$data);