function CKEditor5CacheTag::__construct
Same name in other branches
- 10 core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::__construct()
- 11.x core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::__construct()
Constructs a CKEditor5CacheTag object.
Parameters
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
-
core/
modules/ ckeditor5/ src/ EventSubscriber/ CKEditor5CacheTag.php, line 33
Class
- CKEditor5CacheTag
- A subscriber invalidating cache tags when the default theme changes.
Namespace
Drupal\ckeditor5\EventSubscriberCode
public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.