public function MessengerInterface::deleteAll in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Messenger/MessengerInterface.php \Drupal\Core\Messenger\MessengerInterface::deleteAll()
- 10 core/lib/Drupal/Core/Messenger/MessengerInterface.php \Drupal\Core\Messenger\MessengerInterface::deleteAll()
Deletes all messages.
Return value
string[]|\Drupal\Component\Render\MarkupInterface[] The deleted messages.
2 methods override MessengerInterface::deleteAll()
- LegacyMessenger::deleteAll in core/
lib/ Drupal/ Core/ Messenger/ LegacyMessenger.php - Deletes all messages.
- Messenger::deleteAll in core/
lib/ Drupal/ Core/ Messenger/ Messenger.php - Deletes all messages.
File
- core/
lib/ Drupal/ Core/ Messenger/ MessengerInterface.php, line 120
Class
- MessengerInterface
- Stores runtime messages sent out to individual users on the page.
Namespace
Drupal\Core\MessengerCode
public function deleteAll();