public function DeleteForm::__construct

Constructs a \Drupal\Core\Path\Path object.

Parameters

\Drupal\Core\Path\Path $path: The path crud service.

File

drupal/core/modules/path/lib/Drupal/path/Form/DeleteForm.php, line 40
Contains \Drupal\path\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a path alias.

Namespace

Drupal\path\Form

Code

public function __construct(Path $path) {
  $this->path = $path;
}