function ConfigCacheTag::__construct

Same name and namespace in other branches
  1. 10 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::__construct()
  2. 9 core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::__construct()
  3. 8.9.x core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::__construct()
  4. main core/modules/system/src/EventSubscriber/ConfigCacheTag.php \Drupal\system\EventSubscriber\ConfigCacheTag::__construct()

Constructs a ConfigCacheTag object.

File

core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 20

Class

ConfigCacheTag
A subscriber invalidating cache tags when system config objects are saved.

Namespace

Drupal\system\EventSubscriber

Code

public function __construct(protected ThemeHandlerInterface $themeHandler, protected CacheTagsInvalidatorInterface $cacheTagsInvalidator, protected Registry $themeRegistry) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.