You are here

public function ChainConditionBase::__construct in Access Filter 8

Creates a new PathCondition object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\access_filter\Plugin\AccessFilterPluginManagerInterface $condition_plugin_manager: The access filter condition plugin manager.

Overrides PluginBase::__construct

File

src/Plugin/AccessFilter/Condition/ChainConditionBase.php, line 32

Class

ChainConditionBase
Base class for condition plugins that chains other conditions.

Namespace

Drupal\access_filter\Plugin\AccessFilter\Condition

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, AccessFilterPluginManagerInterface $condition_plugin_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->conditionPluginManager = $condition_plugin_manager;
}