Gets flash message for a given type.
Parameters
string $type Message category 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 47
Class
- FlashBagInterface
- FlashBagInterface.
Namespace
Symfony\Component\HttpFoundation\Session\Flash
Code
public function peek($type, array $default = array());