ConfigEvents::IMPORT_MISSING_CONTENT
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT_MISSING_CONTENT
- 8.9.x core/lib/Drupal/Core/Config/ConfigEvents.php \Drupal\Core\Config\ConfigEvents::IMPORT_MISSING_CONTENT
- 11.x 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\Importer\MissingContentEvent
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigEvents.php, line 126
Class
- ConfigEvents
- Defines events for the configuration system.
Namespace
Drupal\Core\ConfigCode
const IMPORT_MISSING_CONTENT = 'config.importer.missing_content';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.