You are here

public function DeleteForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/path/src/Form/DeleteForm.php \Drupal\path\Form\DeleteForm::__construct()

Constructs a \Drupal\path\Form\DeleteForm object.

Parameters

\Drupal\Core\Path\AliasStorageInterface $alias_storage: The alias storage service.

File

core/modules/path/src/Form/DeleteForm.php, line 41
Contains \Drupal\path\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a path alias.

Namespace

Drupal\path\Form

Code

public function __construct(AliasStorageInterface $alias_storage) {
  $this->aliasStorage = $alias_storage;
}