You are here

public function ContextGroupsBlockPageVariant::__construct in Context groups 8

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

File

src/Plugin/DisplayVariant/ContextGroupsBlockPageVariant.php, line 34

Class

ContextGroupsBlockPageVariant
Provides a page display variant that decorates the main content with blocks.

Namespace

Drupal\context_groups\Plugin\DisplayVariant

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ContextManager $contextManager, ContextGroupsManager $contextGroupsManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $contextManager);
  $this->contextGroupsManager = $contextGroupsManager;
}