Adds a flash message for type.
Parameters
string $type:
string $message:
Overrides FlashBagInterface::add
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php, line 71
Class
- FlashBag
- FlashBag flash message container.
Namespace
Symfony\Component\HttpFoundation\Session\Flash
Code
public function add($type, $message) {
$this->flashes[$type][] = $message;
}