You are here

public function MessengerInterface::getMessages in Service Container 8

Same name and namespace in other branches
  1. 7.2 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::getMessages()
  2. 7 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::getMessages()

Gets all messages.

Return value

array[] Keys are message types and values are indexed arrays of messages. Message types are either self::STATUS, self::WARNING, or self::ERROR.

1 method overrides MessengerInterface::getMessages()
LegacyMessenger::getMessages in src/Messenger/LegacyMessenger.php
Gets all messages.

File

src/Messenger/MessengerInterface.php, line 52
Contains \Drupal\Core\Messenger\MessengerInterface.

Class

MessengerInterface

Namespace

Drupal\service_container\Messenger

Code

public function getMessages();