public function ProcessorInterface::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.
1 method overrides ProcessorInterface::preIndexSave()
- ProcessorPluginBase::preIndexSave in src/
Processor/ ProcessorPluginBase.php - Preprocesses the search index entity before it is saved.
File
- src/
Processor/ ProcessorInterface.php, line 167
Class
- ProcessorInterface
- Provides an interface for Search API processor plugins.
Namespace
Drupal\search_api\ProcessorCode
public function preIndexSave();