public function IndexInterface::setOption in Search API 8
Sets an option.
Parameters
string $name: The name of an option.
mixed $option: The new option.
Return value
$this
2 methods override IndexInterface::setOption()
- Index::setOption in src/
Entity/ Index.php - Sets an option.
- UnsavedIndexConfiguration::setOption in src/
UnsavedIndexConfiguration.php - Sets an option.
File
- src/
IndexInterface.php, line 100
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function setOption($name, $option);