Drupal::requestStack

public static Drupal::requestStack()

Retrives the request stack.

Return value

\Symfony\Component\HttpFoundation\RequestStack The request stack

File

core/lib/Drupal.php, line 227
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

public static function requestStack() {
  return static::getContainer()->get('request_stack');
}
doc_Drupal
2016-10-29 09:02:49
Comments
Leave a Comment

Please login to continue.