public function ThemeExperimentalConfirmForm::getCancelUrl in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::getCancelUrl()
- 9 core/modules/system/src/Form/ThemeExperimentalConfirmForm.php \Drupal\system\Form\ThemeExperimentalConfirmForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
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\FormCode
public function getCancelUrl() {
return new Url('system.themes_page');
}