AlertCommand::$text

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/AlertCommand.php \Drupal\Core\Ajax\AlertCommand::text
  2. 10 core/lib/Drupal/Core/Ajax/AlertCommand.php \Drupal\Core\Ajax\AlertCommand::text
  3. 11.x core/lib/Drupal/Core/Ajax/AlertCommand.php \Drupal\Core\Ajax\AlertCommand::text

The text to be displayed in the alert box.

Type: string

File

core/lib/Drupal/Core/Ajax/AlertCommand.php, line 17

Class

AlertCommand
AJAX command for a javascript alert box.

Namespace

Drupal\Core\Ajax

Code

protected $text;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.