public static function VersionComparison::getSubscribedEvents in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 modules/cms_content_sync_developer/src/EventSubscriber/VersionComparison.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionComparison::getSubscribedEvents()
- 2.0.x modules/cms_content_sync_developer/src/EventSubscriber/VersionComparison.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionComparison::getSubscribedEvents()
File
- modules/
cms_content_sync_developer/ src/ EventSubscriber/ VersionComparison.php, line 224
Class
- VersionComparison
- A subscriber triggering a config when certain configuration changes.
Namespace
Drupal\cms_content_sync_developer\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'doComparisonOnCreate',
];
$events[ConfigEvents::DELETE][] = [
'doComparisonOnDelete',
];
return $events;
}