public AlertCommand::__construct($text)
Constructs an AlertCommand object.
string $text: The text to be displayed in the alert box.
public function __construct($text) { $this->text = $text; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Ajax!AlertCommand.php/function/AlertCommand::__construct/8.1.x