You are here

public function YamlFormMessageManagerInterface::get in YAML Form 8

Get message.

Parameters

string $key: The name of form settings message to be displayed.

Return value

string|bool A message or FALSE if no message is found.

1 method overrides YamlFormMessageManagerInterface::get()
YamlFormMessageManager::get in src/YamlFormMessageManager.php
Get message.

File

src/YamlFormMessageManagerInterface.php, line 144

Class

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

Namespace

Drupal\yamlform

Code

public function get($key);