ConfigImportValidateEventSubscriberBase.php in Zircon Profile 8.0
File
core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php
View source
<?php
namespace Drupal\Core\Config;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
abstract class ConfigImportValidateEventSubscriberBase implements EventSubscriberInterface {
use StringTranslationTrait;
public abstract function onConfigImporterValidate(ConfigImporterEvent $event);
static function getSubscribedEvents() {
$events[ConfigEvents::IMPORT_VALIDATE][] = array(
'onConfigImporterValidate',
20,
);
return $events;
}
}