You are here

public function Index::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

4 calls to Index::isReadOnly()
Index::clear in src/Entity/Index.php
Clears all indexed data from this index and marks it for reindexing.
Index::indexItems in src/Entity/Index.php
Indexes a set amount of items.
Index::trackItemsDeleted in src/Entity/Index.php
Deletes items from the index.
Index::trackItemsInsertedOrUpdated in src/Entity/Index.php
Tracks insertion or updating of items.

File

src/Entity/Index.php, line 299

Class

Index
Defines the search index configuration entity.

Namespace

Drupal\search_api\Entity

Code

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