public function Session::hasFlash

Parameters

string $name:

Return value

Boolean

Deprecated

since 2.1, will be removed from 2.3

File

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

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function hasFlash($name) {
  return $this
    ->getBag($this->flashName)
    ->has($name);
}