You are here

public function ProcessorInterface::getWeight in Search API 8

Returns the weight for a specific processing stage.

Parameters

string $stage: The stage whose weight should be returned.

Return value

int The default weight for the given stage.

See also

\Drupal\search_api\Processor\ProcessorPluginManager::getProcessingStages()

1 method overrides ProcessorInterface::getWeight()
ProcessorPluginBase::getWeight in src/Processor/ProcessorPluginBase.php
Returns the weight for a specific processing stage.

File

src/Processor/ProcessorInterface.php, line 111

Class

ProcessorInterface
Provides an interface for Search API processor plugins.

Namespace

Drupal\search_api\Processor

Code

public function getWeight($stage);