public function MessengerInterface::getMessagesByType in Service Container 7
Same name and namespace in other branches
- 8 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::getMessagesByType()
- 7.2 src/Messenger/MessengerInterface.php \Drupal\service_container\Messenger\MessengerInterface::getMessagesByType()
Gets all messages of a certain type.
Parameters
string $type: The messages' type. Either self::STATUS, self::WARNING, or self::ERROR.
Return value
string[]
1 method overrides MessengerInterface::getMessagesByType()
- LegacyMessenger::getMessagesByType in src/
Messenger/ LegacyMessenger.php - Gets all messages of a certain type.
File
- src/
Messenger/ MessengerInterface.php, line 62 - Contains \Drupal\Core\Messenger\MessengerInterface.
Class
Namespace
Drupal\service_container\MessengerCode
public function getMessagesByType($type);