public function WebformHandlerBase::setLabel in Webform 6.x
Same name and namespace in other branches
- 8.5 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 220
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function setLabel($label) {
$this->label = $label;
return $this;
}