public function ProcessorInterface::setWeight in Search API 8
Sets the weight for a specific processing stage.
Parameters
string $stage: The stage whose weight should be set.
int $weight: The weight for the given stage.
Return value
$this
See also
\Drupal\search_api\Processor\ProcessorPluginManager::getProcessingStages()
1 method overrides ProcessorInterface::setWeight()
- ProcessorPluginBase::setWeight in src/
Processor/ ProcessorPluginBase.php - Sets the weight for a specific processing stage.
File
- src/
Processor/ ProcessorInterface.php, line 125
Class
- ProcessorInterface
- Provides an interface for Search API processor plugins.
Namespace
Drupal\search_api\ProcessorCode
public function setWeight($stage, $weight);