function CKEditor5CacheTag::__construct

Same name in other branches
  1. 10 core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php \Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag::__construct()
  2. 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\EventSubscriber

Code

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.