function CKEditor5CacheTag::getSubscribedEvents
Same name in other branches
- 10 core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::getSubscribedEvents()
- 11.x 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() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.