function ConfigCacheTag::getSubscribedEvents
Same name in other branches
- 9 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::getSubscribedEvents()
- 10 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::getSubscribedEvents()
- 11.x core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::getSubscribedEvents()
File
-
core/
modules/ system/ src/ EventSubscriber/ ConfigCacheTag.php, line 76
Class
- ConfigCacheTag
- A subscriber invalidating cache tags when system config objects are saved.
Namespace
Drupal\system\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.