AnnounceCommand::$text

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

The text to be announced.

Type: string

File

core/lib/Drupal/Core/Ajax/AnnounceCommand.php, line 42

Class

AnnounceCommand
AJAX command for a JavaScript Drupal.announce() call.

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.