public function ConfigImporter::validate

Dispatches validate event for a ConfigImporter object.

Events should throw a \Drupal\Core\Config\ConfigImporterException to prevent an import from occurring.

1 call to ConfigImporter::validate()
ConfigImporter::import in drupal/core/lib/Drupal/Core/Config/ConfigImporter.php
Imports the changelist to the target storage.

File

drupal/core/lib/Drupal/Core/Config/ConfigImporter.php, line 242
Contains \Drupal\Core\Config\ConfigImporter.

Class

ConfigImporter
Defines a configuration importer.

Namespace

Drupal\Core\Config

Code

public function validate() {
  if (!$this->validated) {
    $this
      ->notify('validate');
    $this->validated = TRUE;
  }
  return $this;
}