public static function PruneImportedEntitiesFromExport::getSubscribedEvents in Acquia Content Hub 8.2
Retrieve subscribed events.
Return value
array Subscribed event.
File
- modules/
acquia_contenthub_subscriber/ src/ EventSubscriber/ PrunePublishEntities/ PruneImportedEntitiesFromExport.php, line 62
Class
- PruneImportedEntitiesFromExport
- Prunes imported entities so they are not exported.
Namespace
Drupal\acquia_contenthub_subscriber\EventSubscriber\PrunePublishEntitiesCode
public static function getSubscribedEvents() : array {
return [
AcquiaContentHubEvents::PRUNE_PUBLISH_CDF_ENTITIES => 'onPrunePublishCdfEntitiesIfSiteHasDualConfiguration',
];
}