You are here

public static function BynderConfigHashGenerator::getSubscribedEvents in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::getSubscribedEvents()
  2. 8 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::getSubscribedEvents()
  3. 8.2 src/EventSubscriber/BynderConfigHashGenerator.php \Drupal\bynder\EventSubscriber\BynderConfigHashGenerator::getSubscribedEvents()

File

src/EventSubscriber/BynderConfigHashGenerator.php, line 54

Class

BynderConfigHashGenerator
A subscriber that generates Bynder config hash.

Namespace

Drupal\bynder\EventSubscriber

Code

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