public function IndexPluginInterface::setIndex in Search API 8
Sets the index this plugin is configured for.
Parameters
\Drupal\search_api\IndexInterface $index: The index this plugin is configured for.
1 method overrides IndexPluginInterface::setIndex()
- IndexPluginBase::setIndex in src/
Plugin/ IndexPluginBase.php - Sets the index this plugin is configured for.
File
- src/
Plugin/ IndexPluginInterface.php, line 26
Class
- IndexPluginInterface
- Represents a plugin that is linked to an index.
Namespace
Drupal\search_api\PluginCode
public function setIndex(IndexInterface $index);