You are here

public function ConfigInstaller::setSyncing in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Config/ConfigInstaller.php \Drupal\Core\Config\ConfigInstaller::setSyncing()
  2. 8 core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php \Drupal\Core\ProxyClass\Config\ConfigInstaller::setSyncing()
Same name and namespace in other branches
  1. 8.0 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 374
Contains \Drupal\Core\Config\ConfigInstaller.

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

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