Sets all flash messages.
Overrides FlashBagInterface::setAll
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/AutoExpireFlashBag.php, line 132
Class
- AutoExpireFlashBag
- AutoExpireFlashBag flash message container.
Namespace
Symfony\Component\HttpFoundation\Session\Flash
Code
public function setAll(array $messages) {
$this->flashes['new'] = $messages;
}