You are here

public function JsonapiHelperInterface::prepareData in Entity Share 8

Uniformize JSON data in case of single value.

Parameters

array $data: The JSON data.

Return value

array An array of data.

1 method overrides JsonapiHelperInterface::prepareData()
JsonapiHelper::prepareData in modules/entity_share_client/src/Service/JsonapiHelper.php
Uniformize JSON data in case of single value.

File

modules/entity_share_client/src/Service/JsonapiHelperInterface.php, line 89

Class

JsonapiHelperInterface
Remote manager interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function prepareData(array $data);