You are here

public static function ConfigCacheInvalidator::getSubscribedEvents in Sub-pathauto (Sub-path URL Aliases) 8

File

src/EventSubscriber/ConfigCacheInvalidator.php, line 49

Class

ConfigCacheInvalidator
A subscriber invalidating cache tags when subpathauto config is saved.

Namespace

Drupal\subpathauto\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = [
    'onSave',
  ];
  return $events;
}