public ConfigCacheTag::__construct(ThemeHandlerInterface $theme_handler, CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a ConfigCacheTag object.
Parameters
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
- core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 38
Class
- ConfigCacheTag
- A subscriber invalidating cache tags when system config objects are saved.
Namespace
Drupal\system\EventSubscriber
Code
public function __construct(ThemeHandlerInterface $theme_handler, CacheTagsInvalidatorInterface $cache_tags_invalidator) { $this->themeHandler = $theme_handler; $this->cacheTagsInvalidator = $cache_tags_invalidator; }
Please login to continue.