constant AcquiaContentHubEvents::POPULATE_CDF_ATTRIBUTES in Acquia Content Hub 8.2
Adds attributes beyond those added during the CDF object creation process.
This event allows modules to evaluate entities during CDF creation and add custom attribute definitions to the CDF format before it is sent to the ContentHub service backend.
The event listener method will receive a \Drupal\acquia_contenthub\Event\CdfAttributesEvent instance which provides methods to evaluate the entity and modify the corresponding CDF Object.
See also
\Drupal\acquia_contenthub\Event\CdfAttributesEvent
\Drupal\acquia_contenthub\EntityCdfSerializer::serializeEntities
File
- src/
AcquiaContentHubEvents.php, line 67
Class
- AcquiaContentHubEvents
- Defines events for the acquia_contenthub module.
Namespace
Drupal\acquia_contenthubCode
const POPULATE_CDF_ATTRIBUTES = 'acquia_contenthub_populate_cdf_attributes';