function ThemeExperimentalConfirmForm::getCancelUrl

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

Overrides ConfirmFormInterface::getCancelUrl

1 call to ThemeExperimentalConfirmForm::getCancelUrl()
ThemeExperimentalConfirmForm::submitForm in core/modules/system/src/Form/ThemeExperimentalConfirmForm.php
Form submission handler.

File

core/modules/system/src/Form/ThemeExperimentalConfirmForm.php, line 68

Class

ThemeExperimentalConfirmForm
Builds a confirmation form for enabling experimental themes.

Namespace

Drupal\system\Form

Code

public function getCancelUrl() {
    return new Url('system.themes_page');
}

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