You are here

public static function ConfigIgnoreEventSubscriber::getSubscribedEvents in Config Ignore 8.3

File

src/EventSubscriber/ConfigIgnoreEventSubscriber.php, line 81

Class

ConfigIgnoreEventSubscriber
Makes the import/export aware of ignored configs.

Namespace

Drupal\config_ignore\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    ConfigEvents::STORAGE_TRANSFORM_IMPORT => [
      'onImportTransform',
    ],
    ConfigEvents::STORAGE_TRANSFORM_EXPORT => [
      'onExportTransform',
    ],
  ];
}