public function FlashBagInterface::set

Registers a message for a given type.

Parameters

string $type:

string|array $message:

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

File

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

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function set($type, $message);