Gets and clears flash from the stack.
Parameters
string $type:
array $default Default value if $type doee not exist.:
Return value
string
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());