constant 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';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigEvents.php/constant/ConfigEvents::IMPORT_MISSING_CONTENT/8.1.x