function CKEditor5CacheTag::getSubscribedEvents
Same name in other branches
- 9 core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::getSubscribedEvents()
- 10 core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::getSubscribedEvents()
File
-
core/
modules/ ckeditor5/ src/ EventSubscriber/ CKEditor5CacheTag.php, line 56
Class
- CKEditor5CacheTag
- A subscriber invalidating cache tags when the default theme changes.
Namespace
Drupal\ckeditor5\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.