public function WebformMessageManagerInterface::display in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformMessageManagerInterface.php \Drupal\webform\WebformMessageManagerInterface::display()
Display message.
Parameters
string $key: The name of webform settings message to be displayed.
string $type: (optional) The message's type. Defaults to 'status'. These values are supported:
- 'status'.
- 'warning'.
- 'error'.
1 method overrides WebformMessageManagerInterface::display()
- WebformMessageManager::display in src/
WebformMessageManager.php - Display message.
File
- src/
WebformMessageManagerInterface.php, line 240
Class
- WebformMessageManagerInterface
- Provides an interface for managing a webform's custom, default, and hard-coded messages.
Namespace
Drupal\webformCode
public function display($key, $type = 'status');