You are here

public function BlockPageDisplayVariantSubscriber::__construct in Context groups 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context_groups\EventSubscriber\BlockPageDisplayVariantSubscriber::__construct()

Constructor.

Parameters

ContextManager $context_manager: Context manager.

File

src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 31

Class

BlockPageDisplayVariantSubscriber
Class BlockPageDisplayVariantSubscriber.

Namespace

Drupal\context_groups\EventSubscriber

Code

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