You are here

public function WebformHandlerBase::setLabel in Webform 6.x

Same name and namespace in other branches
  1. 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\Plugin

Code

public function setLabel($label) {
  $this->label = $label;
  return $this;
}