MessageCommand::$clearPrevious
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::clearPrevious
- 10 core/lib/Drupal/Core/Ajax/MessageCommand.php \Drupal\Core\Ajax\MessageCommand::clearPrevious
- 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 42
Class
- MessageCommand
- AJAX command for a JavaScript Drupal.message() call.
Namespace
Drupal\Core\AjaxCode
protected $clearPrevious;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.