W3cubDocs

/Drupal 8

public function ConfigInstaller::setSyncing

public ConfigInstaller::setSyncing($status)

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 387

Class

ConfigInstaller

Namespace

Drupal\Core\Config

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!ConfigInstaller.php/function/ConfigInstaller::setSyncing/8.1.x