You are here

public function YamlFormHandlerBase::init in YAML Form 8

Initialize form handler.

Parameters

\Drupal\yamlform\YamlFormInterface $yamlform: A form object.

Return value

$this This form handler.

File

src/YamlFormHandlerBase.php, line 93

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function init(YamlFormInterface $yamlform) {
  $this->yamlform = $yamlform;
  return $this;
}