You are here

public function IndexInterface::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.

2 methods override IndexInterface::getOptions()
Index::getOptions in src/Entity/Index.php
Retrieves an array of all options.
UnsavedIndexConfiguration::getOptions in src/UnsavedIndexConfiguration.php
Retrieves an array of all options.

File

src/IndexInterface.php, line 88

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function getOptions();