You are here

public function Index::getOptions in Search API 8

Retrieves an array of all options.

The following options are known:

  • cron_limit: The maximum number of items to be indexed per cron batch.
  • index_directly: Boolean setting whether entities are indexed immediately after they are created or updated.

Return value

array An associative array of option values, keyed by the option name.

Overrides IndexInterface::getOptions

File

src/Entity/Index.php, line 313

Class

Index
Defines the search index configuration entity.

Namespace

Drupal\search_api\Entity

Code

public function getOptions() {
  return $this->options;
}