ColorConfigCacheInvalidator::__construct

public ColorConfigCacheInvalidator::__construct(CacheTagsInvalidatorInterface $cache_tags_invalidator)

Constructs a ColorConfigCacheInvalidator object.

Parameters

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.

File

core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php, line 28

Class

ColorConfigCacheInvalidator
A subscriber invalidating cache tags when color config objects are saved.

Namespace

Drupal\color\EventSubscriber

Code

public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
}
doc_Drupal
2016-10-29 08:50:07
Comments
Leave a Comment

Please login to continue.