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