Return value
array
Deprecated
since 2.1, will be removed from 2.3
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Session.php, line 343
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public function clearFlashes() {
return $this
->getBag($this->flashName)
->clear();
}