function NegotiationBrowserDeleteForm::getCancelUrl

Same name in other branches
  1. 8.9.x core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getCancelUrl()
  2. 10 core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getCancelUrl()
  3. 11.x core/modules/language/src/Form/NegotiationBrowserDeleteForm.php \Drupal\language\Form\NegotiationBrowserDeleteForm::getCancelUrl()

Overrides ConfirmFormInterface::getCancelUrl

File

core/modules/language/src/Form/NegotiationBrowserDeleteForm.php, line 42

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.