You are here

public function UnsavedIndexConfiguration::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/UnsavedIndexConfiguration.php, line 218

Class

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

Namespace

Drupal\search_api

Code

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