You are here

public function YamlFormHandlerBase::setLabel in YAML Form 8

Sets the label for this form handler.

Parameters

int $label: The label for this form handler.

Return value

$this

Overrides YamlFormHandlerInterface::setLabel

File

src/YamlFormHandlerBase.php, line 163

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

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