public function ConfigImporter::alreadyImporting
public 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 1028
Class
- ConfigImporter
- Defines a configuration importer.
Namespace
Drupal\Core\ConfigCode
public function alreadyImporting() { return !$this->lock->lockMayBeAvailable(static::LOCK_NAME); }
© 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!ConfigImporter.php/function/ConfigImporter::alreadyImporting/8.1.x