function 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 454

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.