You are here

public function NegotiationBrowserDeleteForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::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

core/modules/language/src/Form/NegotiationBrowserDeleteForm.php, line 46
Contains \Drupal\language\Form\NegotiationBrowserDeleteForm.

Class

NegotiationBrowserDeleteForm
Defines a confirmation form for deleting a browser language negotiation mapping.

Namespace

Drupal\language\Form

Code

public function getCancelUrl() {
  return new Url('language.negotiation_browser');
}