You are here

public function UnsavedIndexConfiguration::isServerEnabled in Search API 8

Checks if this index has an enabled server.

Return value

bool TRUE if this index is attached to a valid, enabled server.

Overrides IndexInterface::isServerEnabled

File

src/UnsavedIndexConfiguration.php, line 336

Class

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

Namespace

Drupal\search_api

Code

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