Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SystemConfigSubscriber.php

function SystemConfigSubscriber::getSubscribedEvents

Overrides EventSubscriberInterface::getSubscribedEvents

File

core/modules/system/src/SystemConfigSubscriber.php, line 87

Class

SystemConfigSubscriber
System Config subscriber.

Namespace

Drupal\system

Code

public static function getSubscribedEvents() : array {
    $events[ConfigEvents::SAVE][] = [
        'onConfigSave',
        0,
    ];
    // The empty check has a high priority so that it can stop propagation if
    // there is no configuration to import.
    $events[ConfigEvents::IMPORT_VALIDATE][] = [
        'onConfigImporterValidateNotEmpty',
        512,
    ];
    $events[ConfigEvents::IMPORT_VALIDATE][] = [
        'onConfigImporterValidateSiteUUID',
        256,
    ];
    return $events;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal