public static function ContactStorageSettingsFormSave::getSubscribedEvents in Contact Storage 8
File
- src/
EventSubscriber/ ContactStorageSettingsFormSave.php, line 29
Class
- ContactStorageSettingsFormSave
- Invalidates the entity type definition cache when the settings are changed.
Namespace
Drupal\contact_storage\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}