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\Config

Code

public function alreadyImporting() {
  return !$this->lock->lockMayBeAvailable(static::LOCK_NAME);
}
doc_Drupal
2016-10-29 08:53:38
Comments
Leave a Comment

Please login to continue.