You are here

public static function JwPlayerSettingsCacheTag::getSubscribedEvents in JW Player 8

File

src/EventSubscriber/JwPlayerSettingsCacheTag.php, line 53
Contains \Drupal\jw_player\EventSubscriber\JwPlayerSettingsCacheTag.

Class

JwPlayerSettingsCacheTag
Invalidates the 'library_info' cache tag when saving jw_player.settings.

Namespace

Drupal\jw_player\EventSubscriber

Code

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