You are here

public function UnsavedIndexConfiguration::setStatus in Search API 8

Sets the status of the configuration entity.

Parameters

bool $status: The status of the configuration entity.

Return value

$this

Overrides ConfigEntityInterface::setStatus

File

src/UnsavedIndexConfiguration.php, line 650

Class

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

Namespace

Drupal\search_api

Code

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