ConfirmFormArrayPathTestForm.php
Same filename in other branches
Namespace
Drupal\form_testFile
-
core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormArrayPathTestForm.php
View source
<?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().');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
ConfirmFormArrayPathTestForm | Provides a test confirmation form with a complex cancellation destination. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.