You are here

public static function PathautoSettingsCacheTag::getSubscribedEvents in Pathauto 8

File

src/EventSubscriber/PathautoSettingsCacheTag.php, line 63

Class

PathautoSettingsCacheTag
A subscriber to clear fielddefinition cache when saving pathauto settings.

Namespace

Drupal\pathauto\EventSubscriber

Code

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