MessageCommand::$clearPrevious

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

Whether to clear previous messages.

Type: bool

File

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

Class

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

Namespace

Drupal\Core\Ajax

Code

protected $clearPrevious;

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