You are here

constant ConfigEvents::IMPORT_MISSING_CONTENT in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT_MISSING_CONTENT

Name of event fired when missing content dependencies are detected.

Events subscribers are fired as part of the configuration import batch. Each subscribe should call \Drupal\Core\Config\MissingContentEvent::resolveMissingContent() when they address a missing dependency. To address large amounts of dependencies subscribers can call \Drupal\Core\Config\MissingContentEvent::stopPropagation() which will stop calling other events and guarantee that the configuration import batch will fire the event again to continue processing missing content dependencies.

See also

\Drupal\Core\Config\ConfigImporter::processMissingContent()

\Drupal\Core\Config\MissingContentEvent

File

core/lib/Drupal/Core/Config/ConfigEvents.php, line 131
Contains \Drupal\Core\Config\ConfigEvents.

Class

ConfigEvents
Defines events for the configuration system.

Namespace

Drupal\Core\Config

Code

const IMPORT_MISSING_CONTENT = 'config.importer.missing_content';