public function RenameForm::getCancelUrl in Filebrowser 3.x
Same name and namespace in other branches
- 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
Namespace
Drupal\filebrowser\FormCode
public function getCancelUrl() {
return Url::fromRoute($this->route['name'], $this->route['node'], $this->route['query']);
}