public function FlashBagInterface::get

Gets and clears flash from the stack.

Parameters

string $type:

array $default Default value if $type does not exist.:

Return value

array

2 methods override FlashBagInterface::get()
AutoExpireFlashBag::get in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/AutoExpireFlashBag.php
Gets and clears flash from the stack.
FlashBag::get in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php
Gets and clears flash from the stack.

File

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

Class

FlashBagInterface
FlashBagInterface.

Namespace

Symfony\Component\HttpFoundation\Session\Flash

Code

public function get($type, array $default = array());