function Messenger::messagesByType
Same name in other branches
- 9 core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::messagesByType()
- 10 core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::messagesByType()
- 11.x core/lib/Drupal/Core/Messenger/Messenger.php \Drupal\Core\Messenger\Messenger::messagesByType()
Overrides MessengerInterface::messagesByType
File
-
core/
lib/ Drupal/ Core/ Messenger/ Messenger.php, line 108
Class
- Messenger
- The messenger service.
Namespace
Drupal\Core\MessengerCode
public function messagesByType($type) {
return $this->flashBag
->peek($type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.