ConfigCacheTag
class ConfigCacheTag implements EventSubscriberInterface (View source)
A subscriber invalidating cache tags when system config objects are saved.
Properties
| protected ThemeHandlerInterface | $themeHandler | The theme handler. |
|
| protected CacheTagsInvalidatorInterface | $cacheTagsInvalidator | The cache tags invalidator. |
Methods
__construct(ThemeHandlerInterface $theme_handler, CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a ConfigCacheTag object.
onSave(ConfigCrudEvent $event)
Invalidate cache tags when particular system config objects are saved.
static
getSubscribedEvents()
{@inheritdoc}
Details
__construct(ThemeHandlerInterface $theme_handler, CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a ConfigCacheTag object.
onSave(ConfigCrudEvent $event)
Invalidate cache tags when particular system config objects are saved.
static
getSubscribedEvents()
{@inheritdoc}