function ConfigImporter::alreadyImporting
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::alreadyImporting()
- 10 core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::alreadyImporting()
- 11.x core/lib/Drupal/Core/Config/ConfigImporter.php \Drupal\Core\Config\ConfigImporter::alreadyImporting()
Determines if a import is already running.
Return value
bool TRUE if an import is already running, FALSE if not.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigImporter.php, line 1054
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
public function alreadyImporting() {
return !$this->lock
->lockMayBeAvailable(static::LOCK_NAME);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.