function ConfigUpdateSubscriber::getSubscribedEvents

File

modules/ctools_entity_mask/tests/modules/entity_mask_test/src/EventSubscriber/ConfigUpdateSubscriber.php, line 42

Class

ConfigUpdateSubscriber
Updates the configuration data at Runtime.

Namespace

Drupal\entity_mask_test\EventSubscriber

Code

public static function getSubscribedEvents() {
    // The priority is set as 256, so that this event is called before the
    // `ConfigSchemaChecker` event.
    // @see \Drupal\Core\Config\Development\ConfigSchemaChecker
    $events[ConfigEvents::SAVE][] = [
        'onConfigSave',
        256,
    ];
    return $events;
}