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 126

Class

ConfigEvents
Defines events for the configuration system.

Namespace

Drupal\Core\Config

Code

const IMPORT_MISSING_CONTENT = 'config.importer.missing_content';
doc_Drupal
2016-10-29 08:53:10
Comments
Leave a Comment

Please login to continue.