You are here

public function WebformConfirmReloadCommand::__construct in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Ajax/WebformConfirmReloadCommand.php \Drupal\webform\Ajax\WebformConfirmReloadCommand::__construct()

Constructs an 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\Ajax

Code

public function __construct($message) {
  $this->message = $message;
}