public function LegacyMessenger::getMessages in Service Container 7
Same name and namespace in other branches
- 8 src/Messenger/LegacyMessenger.php \Drupal\service_container\Messenger\LegacyMessenger::getMessages()
- 7.2 src/Messenger/LegacyMessenger.php \Drupal\service_container\Messenger\LegacyMessenger::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.
Overrides MessengerInterface::getMessages
File
- src/
Messenger/ LegacyMessenger.php, line 45 - Contains \Drupal\service_container\LegacyMessenger.
Class
- LegacyMessenger
- Class that manage the messages in Drupal.
Namespace
Drupal\service_container\MessengerCode
public function getMessages() {
return $this->drupal7
->drupal_get_messages(NULL, FALSE);
}