public static function ConfigCacheTag::getSubscribedEvents in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::getSubscribedEvents()
- 9 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::getSubscribedEvents()
File
- core/
modules/ system/ src/ EventSubscriber/ ConfigCacheTag.php, line 82
Class
- ConfigCacheTag
- A subscriber invalidating cache tags when system config objects are saved.
Namespace
Drupal\system\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}