getStorage(); * @endcode * * This event is also fired when just viewing the difference of configuration * to be imported independently of whether the import takes place or not. * Use the \Drupal\Core\Config\ConfigEvents::IMPORT event to subscribe to the * import having taken place. * * @Event * * @see \Drupal\Core\Config\StorageTransformEvent * @see \Drupal\Core\Config\ConfigEvents::STORAGE_TRANSFORM_EXPORT * @see \Drupal\Core\Config\ImportStorageTransformer::transform * * @var string */ const STORAGE_TRANSFORM_IMPORT = 'config.transform.import'; /** * Name of the event fired when the export storage is used. * * This event allows subscribers to modify the configuration which is about to * be exported. The event listener method receives a * \Drupal\Core\Config\StorageTransformEvent instance. This event contains a * config storage which subscribers can interact with and which will finally * be used to export the configuration from. * * @code * $storage = $event->getStorage(); * @endcode * * Typically subscribers will want to perform the reverse operation on the * storage than for \Drupal\Core\Config\ConfigEvents::STORAGE_TRANSFORM_IMPORT * to make sure successive exports and imports yield no difference. * * @Event * * @see \Drupal\Core\Config\StorageTransformEvent * @see \Drupal\Core\Config\ConfigEvents::STORAGE_TRANSFORM_IMPORT * @see \Drupal\Core\Config\ExportStorageManager::getStorage * * @var string */ const STORAGE_TRANSFORM_EXPORT = 'config.transform.export'; }