You are here

public function DeleteForm::getCancelUrl in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/Form/DeleteForm.php \Drupal\filebrowser\Form\DeleteForm::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/DeleteForm.php, line 155

Class

DeleteForm

Namespace

Drupal\filebrowser\Form

Code

public function getCancelUrl() {
  return $this->node
    ->toUrl();
}