You are here

public function UnsavedIndexConfiguration::isReadOnly in Search API 8

Determines whether this index is read-only.

Return value

bool TRUE if this index is read-only, otherwise FALSE.

Overrides IndexInterface::isReadOnly

File

src/UnsavedIndexConfiguration.php, line 204

Class

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

Namespace

Drupal\search_api

Code

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