function ConfirmFormArrayPathTestForm::getCancelUrl
Same name in other branches
- 9 core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php \Drupal\form_test\ConfirmFormArrayPathTestForm::getCancelUrl()
- 8.9.x core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php \Drupal\form_test\ConfirmFormArrayPathTestForm::getCancelUrl()
- 11.x core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php \Drupal\form_test\ConfirmFormArrayPathTestForm::getCancelUrl()
Overrides ConfirmFormTestForm::getCancelUrl
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormArrayPathTestForm.php, line 24
Class
- ConfirmFormArrayPathTestForm
- Provides a test confirmation form with a complex cancellation destination.
Namespace
Drupal\form_testCode
public function getCancelUrl() {
return new Url('form_test.route6', [], [
'query' => [
'destination' => 'admin/config',
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.