function MediaConfigSubscriber::getSubscribedEvents
Same name in other branches
- 9 core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php \Drupal\media\EventSubscriber\MediaConfigSubscriber::getSubscribedEvents()
- 10 core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php \Drupal\media\EventSubscriber\MediaConfigSubscriber::getSubscribedEvents()
- 11.x core/modules/media/src/EventSubscriber/MediaConfigSubscriber.php \Drupal\media\EventSubscriber\MediaConfigSubscriber::getSubscribedEvents()
File
-
core/
modules/ media/ src/ EventSubscriber/ MediaConfigSubscriber.php, line 87
Class
- MediaConfigSubscriber
- Listens to the config save event for media.settings.
Namespace
Drupal\media\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.