public function ParagraphsCollectionStyleConfigCacheTag::__construct

Constructs a ParagraphsCollectionSettingsCacheTag object.

Parameters

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

File

paragraphs_collection/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;
}