You are here

public function ConditionCreatorBase::__construct in Block Visibility Groups 8

RouteConditionCreator constructor.

Parameters

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Overrides PluginBase::__construct

1 call to ConditionCreatorBase::__construct()
NodeTypeConditionCreator::__construct in block_visibility_groups_admin/src/Plugin/ConditionCreator/NodeTypeConditionCreator.php
NodeTypeConditionCreator constructor.
1 method overrides ConditionCreatorBase::__construct()
NodeTypeConditionCreator::__construct in block_visibility_groups_admin/src/Plugin/ConditionCreator/NodeTypeConditionCreator.php
NodeTypeConditionCreator constructor.

File

block_visibility_groups_admin/src/Plugin/ConditionCreatorBase.php, line 32

Class

ConditionCreatorBase

Namespace

Drupal\block_visibility_groups_admin\Plugin

Code

public function __construct($configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->route = $configuration['route'];
}