You are here

public function FieldStorageFormatInterface::decode in Apigee Edge 8

Decodes field data from the target format.

Parameters

string $data: Encoded data.

Return value

array Decoded data.

2 methods override FieldStorageFormatInterface::decode()
CSV::decode in src/Plugin/ApigeeFieldStorageFormat/CSV.php
Decodes field data from the target format.
JSON::decode in src/Plugin/ApigeeFieldStorageFormat/JSON.php
Decodes field data from the target format.

File

src/Plugin/FieldStorageFormatInterface.php, line 47

Class

FieldStorageFormatInterface
Defines an interface for Apigee Edge field storage formatters.

Namespace

Drupal\apigee_edge\Plugin

Code

public function decode(string $data) : array;