A subscriber invalidating cache tags when color config objects are saved.
Hierarchy
- class \Drupal\color\EventSubscriber\ColorConfigCacheInvalidator implements EventSubscriberInterface
File
- core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php, line 13
Namespace
Drupal\color\EventSubscriber
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| ColorConfigCacheInvalidator::$cacheTagsInvalidator | protected | property | The cache tags invalidator. |
| ColorConfigCacheInvalidator::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
| ColorConfigCacheInvalidator::onChange | public | function | Invalidate cache tags when a color theme config object changes. |
| ColorConfigCacheInvalidator::__construct | public | function | Constructs a ColorConfigCacheInvalidator object. |
Please login to continue.