You are here

constant AcquiaContentHubEvents::ENTITY_DATA_TAMPER in Acquia Content Hub 8.2

Name of the event fired before a CDF based PHP array is being unserialized.

This event allows modules to manipulate the data of the entire CDF array before being unserialized by the normal process. The event listener method receives a \Drupal\acquia_contenthub_publisher\Event\EntityDataTamperEvent instance which allows modules to tamper with the entity data before its unserialed.

See also

\Drupal\acquia_contenthub\Event\EntityDataTamperEvent

\Drupal\acquia_contenthub\EntityCdfSerializer::unserializeEntities()

File

src/AcquiaContentHubEvents.php, line 141

Class

AcquiaContentHubEvents
Defines events for the acquia_contenthub module.

Namespace

Drupal\acquia_contenthub

Code

const ENTITY_DATA_TAMPER = 'entity_data_tamper';