You are here

public function RenameForm::getCancelUrl in Filebrowser 3.x

Same name and namespace in other branches
  1. 8.2 src/Form/RenameForm.php \Drupal\filebrowser\Form\RenameForm::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/RenameForm.php, line 130

Class

RenameForm

Namespace

Drupal\filebrowser\Form

Code

public function getCancelUrl() {
  return Url::fromRoute($this->route['name'], $this->route['node'], $this->route['query']);
}