You are here

public static function VersionWarning::getSubscribedEvents in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 8 modules/cms_content_sync_developer/src/EventSubscriber/VersionWarning.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionWarning::getSubscribedEvents()
  2. 2.0.x modules/cms_content_sync_developer/src/EventSubscriber/VersionWarning.php \Drupal\cms_content_sync_developer\EventSubscriber\VersionWarning::getSubscribedEvents()

File

modules/cms_content_sync_developer/src/EventSubscriber/VersionWarning.php, line 88

Class

VersionWarning
A subscriber triggering a config when certain configuration changes.

Namespace

Drupal\cms_content_sync_developer\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'showVersionWarning',
  ];
  return $events;
}