public function WebformHandlerBase::setWeight in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::setWeight()
Sets the weight for this webform handler.
Parameters
int $weight: The weight for this webform handler.
Return value
$this
Overrides WebformHandlerInterface::setWeight
File
- src/
Plugin/ WebformHandlerBase.php, line 342
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}