You are here

public function ConfigInstaller::setSyncing in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSyncing()
  2. 9 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSyncing()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSyncing()

Sets the status of the isSyncing flag.

Parameters

bool $status: The status of the sync flag.

Return value

$this

Overrides ConfigInstallerInterface::setSyncing

File

core/lib/Drupal/Core/Config/ConfigInstaller.php, line 453

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

public function setSyncing($status) {
  if (!$status) {
    $this->sourceStorage = NULL;
  }
  $this->isSyncing = $status;
  return $this;
}