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'); }
Please login to continue.