public function Session::setFlash

Parameters

string $name:

string $value:

Deprecated

since 2.1, will be removed from 2.3

File

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

Class

Session
Session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function setFlash($name, $value) {
  $this
    ->getBag($this->flashName)
    ->set($name, $value);
}