You are here

function BlockPageDisplayVariantSubscriber::__construct in Context 8

Same name and namespace in other branches
  1. 8.4 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber::__construct()
  2. 8.0 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber::__construct()

Parameters

\Drupal\context\ContextManager $contextManager:

File

src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 31
Contains \Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber.

Class

BlockPageDisplayVariantSubscriber
Selects the block page display variant.

Namespace

Drupal\context\EventSubscriber

Code

function __construct(ContextManager $contextManager) {
  $this->contextManager = $contextManager;
}