You are here

public function WebformHandlerBase::setLabel in Webform 8.5

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

Code

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