public function ProcessorPluginBase::preIndexSave in Search API 8
Preprocesses the search index entity before it is saved.
This can, for example, be used to make sure fields needed by this processor are enabled on the index.
Overrides ProcessorInterface::preIndexSave
2 calls to ProcessorPluginBase::preIndexSave()
- FieldsProcessorPluginBase::preIndexSave in src/
Processor/ FieldsProcessorPluginBase.php - Preprocesses the search index entity before it is saved.
- Highlight::preIndexSave in src/
Plugin/ search_api/ processor/ Highlight.php - Preprocesses the search index entity before it is saved.
5 methods override ProcessorPluginBase::preIndexSave()
- ContentAccess::preIndexSave in src/
Plugin/ search_api/ processor/ ContentAccess.php - Preprocesses the search index entity before it is saved.
- FieldsProcessorPluginBase::preIndexSave in src/
Processor/ FieldsProcessorPluginBase.php - Preprocesses the search index entity before it is saved.
- Highlight::preIndexSave in src/
Plugin/ search_api/ processor/ Highlight.php - Preprocesses the search index entity before it is saved.
- RoleAccess::preIndexSave in src/
Plugin/ search_api/ processor/ RoleAccess.php - Preprocesses the search index entity before it is saved.
- TestProcessor::preIndexSave in tests/
search_api_test/ src/ Plugin/ search_api/ processor/ TestProcessor.php - Preprocesses the search index entity before it is saved.
File
- src/
Processor/ ProcessorPluginBase.php, line 160
Class
- ProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\search_api\ProcessorCode
public function preIndexSave() {
}