You are here

public function ParagraphsCollectionStyleConfigCacheTag::__construct in Paragraphs Collection 8

Constructs a ParagraphsCollectionSettingsCacheTag object.

Parameters

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

File

src/EventSubscriber/ParagraphsCollectionStyleConfigCacheTag.php, line 29

Class

ParagraphsCollectionStyleConfigCacheTag
Invalidates the 'rendered' cache tag when saving paragraphs_collection.settings.

Namespace

Drupal\paragraphs_collection\EventSubscriber

Code

public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
}