You are here

public function SerializeCdfEntityFieldEvent::setFieldData in Acquia Content Hub 8.2

Set the field data to serialize.

Parameters

array $data: Field data.

File

src/Event/SerializeCdfEntityFieldEvent.php, line 136

Class

SerializeCdfEntityFieldEvent
Event fired when serializing individual entity fields for syndication.

Namespace

Drupal\acquia_contenthub\Event

Code

public function setFieldData(array $data) {
  $this->fieldData = $data;
}