public function BlockPageDisplayVariantSubscriber::__construct in Context 8.4
Same name and namespace in other branches
- 8 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber::__construct()
- 8.0 src/EventSubscriber/BlockPageDisplayVariantSubscriber.php \Drupal\context\EventSubscriber\BlockPageDisplayVariantSubscriber::__construct()
Construct a block page display variant.
Parameters
\Drupal\context\ContextManager $contextManager: The Context manager.
File
- src/
EventSubscriber/ BlockPageDisplayVariantSubscriber.php, line 31
Class
- BlockPageDisplayVariantSubscriber
- Selects the block page display variant.
Namespace
Drupal\context\EventSubscriberCode
public function __construct(ContextManager $contextManager) {
$this->contextManager = $contextManager;
}