You are here

public function YamlFormMessageManager::setYamlForm in YAML Form 8

Set the form used for custom messages and token replacement.

Parameters

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

Overrides YamlFormMessageManagerInterface::setYamlForm

File

src/YamlFormMessageManager.php, line 119

Class

YamlFormMessageManager
Defines the form message (and login) manager.

Namespace

Drupal\yamlform

Code

public function setYamlForm(YamlFormInterface $yamlform = NULL) {
  $this->yamlform = $yamlform;
}