public function WebformConfirmReloadCommand::__construct in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Ajax/WebformConfirmReloadCommand.php \Drupal\webform\Ajax\WebformConfirmReloadCommand::__construct()
Constructs a WebformConfirmReloadCommand object.
Parameters
string $message: The message to be displayed.
File
- src/
Ajax/ WebformConfirmReloadCommand.php, line 27
Class
- WebformConfirmReloadCommand
- Provides an Ajax command for confirming page reload.
Namespace
Drupal\webform\AjaxCode
public function __construct($message) {
$this->message = $message;
}