ad830f601e770997beffc6ce39d77a010ab074ec
[yaffs-website] / web / core / modules / system / tests / modules / form_test / src / ConfirmFormArrayPathTestForm.php
1 <?php
2
3 namespace Drupal\form_test;
4
5 use Drupal\Core\Url;
6
7 /**
8  * Provides a test confirmation form with a complex cancellation destination.
9  *
10  * @internal
11  */
12 class ConfirmFormArrayPathTestForm extends ConfirmFormTestForm {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function getFormId() {
18     return 'form_test_confirm_array_path_test_form';
19   }
20
21   /**
22    * {@inheritdoc}
23    */
24   public function getCancelUrl() {
25     return new Url('form_test.route6', [], [
26       'query' => [
27         'destination' => 'admin/config',
28       ],
29     ]);
30   }
31
32   /**
33    * {@inheritdoc}
34    */
35   public function getCancelText() {
36     return $this->t('ConfirmFormArrayPathTestForm::getCancelText().');
37   }
38
39 }