function ConfigTranslationDeleteForm::getCancelUrl

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

Overrides ConfirmFormInterface::getCancelUrl

1 call to ConfigTranslationDeleteForm::getCancelUrl()
ConfigTranslationDeleteForm::submitForm in core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php

File

core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 102

Class

ConfigTranslationDeleteForm
Builds a form to delete configuration translation.

Namespace

Drupal\config_translation\Form

Code

public function getCancelUrl() {
    return new Url($this->mapper
        ->getOverviewRouteName(), $this->mapper
        ->getOverviewRouteParameters());
}

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