interface JsonapiHelperInterface in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_client/src/Service/JsonapiHelperInterface.php \Drupal\entity_share_client\Service\JsonapiHelperInterface
- 8.2 modules/entity_share_client/src/Service/JsonapiHelperInterface.php \Drupal\entity_share_client\Service\JsonapiHelperInterface
Jsonapi helper interface methods.
Hierarchy
- interface \Drupal\entity_share_client\Service\JsonapiHelperInterface
Expanded class hierarchy of JsonapiHelperInterface
All classes that implement JsonapiHelperInterface
1 file declares its use of JsonapiHelperInterface
- EntityParser.php in modules/
entity_share_diff/ src/ Service/ EntityParser.php
File
- modules/
entity_share_client/ src/ Service/ JsonapiHelperInterface.php, line 10
Namespace
Drupal\entity_share_client\ServiceView source
interface JsonapiHelperInterface {
/**
* Helper function to unserialize an entity from the JSON:API response.
*
* @param array $data
* An array of data.
*
* @return \Drupal\Core\Entity\EntityInterface
* An unserialize entity.
*/
public function extractEntity(array $data);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
JsonapiHelperInterface:: |
public | function | Helper function to unserialize an entity from the JSON:API response. | 1 |