You are here

public function PathAliasExists::__construct in Rules 8.3

Constructs a PathAliasExists 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\path_alias\AliasManagerInterface $alias_manager: The alias manager service.

Overrides ConditionPluginBase::__construct

File

src/Plugin/Condition/PathAliasExists.php, line 56

Class

PathAliasExists
Provides a 'Path alias exists' condition.

Namespace

Drupal\rules\Plugin\Condition

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, AliasManagerInterface $alias_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->aliasManager = $alias_manager;
}