You are here

public function YamlFormMessageManagerInterface::setYamlForm in YAML Form 8

Set the form used for custom messages and token replacement.

Parameters

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

1 method overrides YamlFormMessageManagerInterface::setYamlForm()
YamlFormMessageManager::setYamlForm in src/YamlFormMessageManager.php
Set the form used for custom messages and token replacement.

File

src/YamlFormMessageManagerInterface.php, line 117

Class

YamlFormMessageManagerInterface
Provides an interface for managing a form's custom, default, and hard-coded messages.

Namespace

Drupal\yamlform

Code

public function setYamlForm(YamlFormInterface $yamlform = NULL);