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

1
2
3
public function alreadyImporting() {
  return !$this->lock->lockMayBeAvailable(static::LOCK_NAME);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.