You are here

public static function GlobalredirectSettingsCacheTag::getSubscribedEvents in Global Redirect 8

File

src/EventSubscriber/GlobalredirectSettingsCacheTag.php, line 46
Contains \Drupal\globalredirect\EventSubscriber\GlobalredirectSettingsCacheTag.

Class

GlobalredirectSettingsCacheTag
A subscriber invalidating the 'rendered' cache tag when saving globalredirect settings.

Namespace

Drupal\globalredirect\EventSubscriber

Code

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