public BlockPlaceEventSubscriber::__construct(RequestStack $request_stack, AccountInterface $account)
Constructs a \Drupal\block_place\EventSubscriber\BlockPlaceEventSubscriber object.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request.
\Drupal\Core\Session\AccountInterface $account: The current user.
File
- core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 38
Class
Namespace
Drupal\block_place\EventSubscriber
Code
public function __construct(RequestStack $request_stack, AccountInterface $account) { $this->requestStack = $request_stack; $this->account = $account; }
Please login to continue.