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