public function ProcessorPluginBase::alterIndexedItems in Search API 8
Alter the items to be indexed.
Parameters
\Drupal\search_api\Item\ItemInterface[] $items: An array of items to be indexed, passed by reference.
Overrides ProcessorInterface::alterIndexedItems
3 methods override ProcessorPluginBase::alterIndexedItems()
- EntityStatus::alterIndexedItems in src/
Plugin/ search_api/ processor/ EntityStatus.php - Alter the items to be indexed.
- RoleFilter::alterIndexedItems in src/
Plugin/ search_api/ processor/ RoleFilter.php - Alter the items to be indexed.
- TestProcessor::alterIndexedItems in tests/
search_api_test/ src/ Plugin/ search_api/ processor/ TestProcessor.php - Alter the items to be indexed.
File
- src/
Processor/ ProcessorPluginBase.php, line 165
Class
- ProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\search_api\ProcessorCode
public function alterIndexedItems(array &$items) {
}