function PathAliasDeleteByAlias::__construct

Constructs a PathAliasDeleteByAlias 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\Core\Entity\EntityStorageInterface $alias_storage: The alias storage service.

File

src/Plugin/RulesAction/PathAliasDeleteByAlias.php, line 49

Class

PathAliasDeleteByAlias
Provides a 'Delete any path alias' action.

Namespace

Drupal\rules\Plugin\RulesAction

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityStorageInterface $alias_storage) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
    $this->aliasStorage = $alias_storage;
}