
| Current Path : /var/www/html1/web/core/modules/system/tests/modules/form_test/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/web/core/modules/system/tests/modules/form_test/src/ConfirmFormArrayPathTestForm.php |
<?php
namespace Drupal\form_test;
use Drupal\Core\Url;
/**
* Provides a test confirmation form with a complex cancellation destination.
*
* @internal
*/
class ConfirmFormArrayPathTestForm extends ConfirmFormTestForm {
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'form_test_confirm_array_path_test_form';
}
/**
* {@inheritdoc}
*/
public function getCancelUrl() {
return new Url('form_test.route6', [], [
'query' => [
'destination' => 'admin/config',
],
]);
}
/**
* {@inheritdoc}
*/
public function getCancelText() {
return $this->t('ConfirmFormArrayPathTestForm::getCancelText().');
}
}