public function ImportProcessorPluginBase::setWeight in Entity Share 8.3
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
Overrides ImportProcessorInterface::setWeight
See also
\Drupal\entity_share_client\ImportProcessor\ImportProcessorPluginManager::getProcessingStages()
File
- modules/
entity_share_client/ src/ ImportProcessor/ ImportProcessorPluginBase.php, line 134
Class
- ImportProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\entity_share_client\ImportProcessorCode
public function setWeight($stage, $weight) {
$this->configuration['weights'][$stage] = $weight;
return $this;
}