public function FlashBagInterface::add

Adds a flash message for type.

Parameters

string $type:

string $message:

2 methods override FlashBagInterface::add()
AutoExpireFlashBag::add in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/AutoExpireFlashBag.php
Adds a flash message for type.
FlashBag::add in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php
Adds a flash message for type.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php, line 29

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function add($type, $message);