You are here

protected function TcaCommerceProductAccessControlHandler::getRequestStack in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x modules/tca_commerce_product/src/TcaCommerceProductAccessControlHandler.php \Drupal\tca_commerce_product\TcaCommerceProductAccessControlHandler::getRequestStack()

Current request stack.

Return value

\Symfony\Component\HttpFoundation\RequestStack Request stack.

File

modules/tca_commerce_product/src/TcaCommerceProductAccessControlHandler.php, line 36

Class

TcaCommerceProductAccessControlHandler
Extended access control handler for node entity.

Namespace

Drupal\tca_commerce_product

Code

protected function getRequestStack() {
  return \Drupal::service('request_stack');
}