You are here

public static function ConfigCacheTag::getSubscribedEvents in Real Name 8

Same name and namespace in other branches
  1. 2.x src/EventSubscriber/ConfigCacheTag.php \Drupal\realname\EventSubscriber\ConfigCacheTag::getSubscribedEvents()

File

src/EventSubscriber/ConfigCacheTag.php, line 53

Class

ConfigCacheTag
A subscriber invalidating cache tags when realname config objects are saved.

Namespace

Drupal\realname\EventSubscriber

Code

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