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\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}