ColorConfigCacheInvalidator
class ColorConfigCacheInvalidator implements EventSubscriberInterface (View source)
A subscriber invalidating cache tags when color config objects are saved.
Properties
| protected CacheTagsInvalidatorInterface | $cacheTagsInvalidator | The cache tags invalidator. |
Methods
__construct(CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a ColorConfigCacheInvalidator object.
static
getSubscribedEvents()
{@inheritdoc}
Details
__construct(CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a ColorConfigCacheInvalidator object.
onChange(ConfigCrudEvent $event)
Invalidate cache tags when a color theme config object changes.
static
getSubscribedEvents()
{@inheritdoc}