You are here

public static function ParagraphsCollectionStyleConfigCacheTag::getSubscribedEvents in Paragraphs Collection 8

File

src/EventSubscriber/ParagraphsCollectionStyleConfigCacheTag.php, line 49

Class

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

Namespace

Drupal\paragraphs_collection\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = [
    'onSave',
  ];
  return $events;
}