BlockPlaceEventSubscriber::__construct

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

BlockPlaceEventSubscriber

Namespace

Drupal\block_place\EventSubscriber

Code

public function __construct(RequestStack $request_stack, AccountInterface $account) {
  $this->requestStack = $request_stack;
  $this->account = $account;
}
doc_Drupal
2016-10-29 08:47:47
Comments
Leave a Comment

Please login to continue.