MessageCommand::$message

Same name in other branches
  1. 9 core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::message
  2. 8.9.x core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::message
  3. 11.x core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::message

The message text.

Type: string|\Drupal\Component\Render\MarkupInterface

File

core/lib/Drupal/Core/Ajax/MessageCommand.php, line 75

Class

MessageCommand
AJAX command for a JavaScript Drupal.message() call.

Namespace

Drupal\Core\Ajax

Code

protected $message;

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