You are here

public static function ConfigSubscriber::getSubscribedEvents in Field Encryption 8.2

Same name and namespace in other branches
  1. 3.0.x src/EventSubscriber/ConfigSubscriber.php \Drupal\field_encrypt\EventSubscriber\ConfigSubscriber::getSubscribedEvents()

File

src/EventSubscriber/ConfigSubscriber.php, line 101

Class

ConfigSubscriber
Updates existing data when field encryption settings are updated.

Namespace

Drupal\field_encrypt\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = array(
    'onConfigSave',
    0,
  );
  $events[ConfigEvents::DELETE][] = array(
    'onConfigDelete',
    0,
  );
  return $events;
}