function EventSubscriber::getSubscribedEvents

File

core/modules/config/tests/config_transformer_test/src/EventSubscriber.php, line 110

Class

EventSubscriber
Class EventSubscriber.

Namespace

Drupal\config_transformer_test

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.