MessageCommand::$options

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::options
  2. 10 core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::options
  3. 11.x core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::options

The options passed to Drupal.message().add().

Type: array

File

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

Class

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

Namespace

Drupal\Core\Ajax

Code

protected $options;

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