public static function DraggableViewsSyncExtend::getSubscribedEvents in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 modules/cms_content_sync_draggableviews/src/EventSubscriber/DraggableViewsSyncExtend.php \Drupal\cms_content_sync_draggableviews\EventSubscriber\DraggableViewsSyncExtend::getSubscribedEvents()
- 2.0.x modules/cms_content_sync_draggableviews/src/EventSubscriber/DraggableViewsSyncExtend.php \Drupal\cms_content_sync_draggableviews\EventSubscriber\DraggableViewsSyncExtend::getSubscribedEvents()
Returns an array of event names this subscriber wants to listen to.
Return value
array The event names to listen to
File
- modules/
cms_content_sync_draggableviews/ src/ EventSubscriber/ DraggableViewsSyncExtend.php, line 26
Class
- DraggableViewsSyncExtend
- Event subscriptions for events dispatched by Content Sync.
Namespace
Drupal\cms_content_sync_draggableviews\EventSubscriberCode
public static function getSubscribedEvents() {
$events[BeforeEntityPush::EVENT_NAME][] = [
'extendPush',
];
$events[AfterEntityPull::EVENT_NAME][] = [
'extendPull',
];
$events[BeforeEntityTypeExport::EVENT_NAME][] = [
'extendEntityType',
];
return $events;
}