You are here

public function UnsavedIndexConfiguration::setSyncing in Search API 8

Sets the status of the synchronization flag.

Parameters

bool $status: The status of the synchronization flag.

Return value

$this

Overrides SynchronizableInterface::setSyncing

File

src/UnsavedIndexConfiguration.php, line 658

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function setSyncing($status) {
  $this->entity
    ->setSyncing($status);
  return $this;
}