| FormTest::testNumber |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'number' and 'range' elements. |
| FormTest::testRange |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests default value handling of #type 'range' elements. |
| FormTest::testRequiredAttribute |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests required attribute. |
| FormTest::testRequiredCheckboxesRadio |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation for required checkbox, select, and radio elements. |
| FormTest::testRequiredFields |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Check several empty values for required forms elements. |
| FormTest::testRequiredTextfieldNoTitle |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation for required textfield element without title. |
| FormTest::testSelect |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests validation of #type 'select' elements. |
| FormTest::testSelectSorting |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Tests sorting and not sorting of options in a select element. |
| FormTest::validateSelectSorting |
function |
core/modules/system/tests/src/Functional/Form/FormTest.php |
Validates that the options are in the right order in a select. |
| FormTestAlterForm |
class |
core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php |
Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter(). |
| FormTestAlterForm.php |
file |
core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php |
|
| FormTestAlterForm::buildForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php |
Form constructor. |
| FormTestAlterForm::getFormId |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php |
Returns a unique string identifying the form. |
| FormTestAlterForm::submitForm |
function |
core/modules/system/tests/modules/form_test/src/Form/FormTestAlterForm.php |
Form submission handler. |
| FormTestArgumentsObject |
class |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Provides a test form object that needs arguments. |
| FormTestArgumentsObject.php |
file |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
|
| FormTestArgumentsObject::buildForm |
function |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Form constructor. |
| FormTestArgumentsObject::getEditableConfigNames |
function |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Gets the configuration names that will be editable. |
| FormTestArgumentsObject::getFormId |
function |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Returns a unique string identifying the form. |
| FormTestArgumentsObject::submitForm |
function |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Form submission handler. |
| FormTestArgumentsObject::validateForm |
function |
core/modules/system/tests/modules/form_test/src/FormTestArgumentsObject.php |
Form validation handler. |
| FormTestAutocompleteForm |
class |
core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php |
Defines a test form using autocomplete textfields. |
| FormTestAutocompleteForm.php |
file |
core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php |
|
| FormTestAutocompleteForm::buildForm |
function |
core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php |
Form constructor. |
| FormTestAutocompleteForm::getFormId |
function |
core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php |
Returns a unique string identifying the form. |
| FormTestAutocompleteForm::submitForm |
function |
core/modules/system/tests/modules/form_test/src/FormTestAutocompleteForm.php |
Form submission handler. |
| FormTestBase |
class |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
Provides a base class for testing form functionality. |
| FormTestBase.php |
file |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$account |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The current user. |
| FormTestBase::$cache |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The cache backend to use. |
| FormTestBase::$classResolver |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The class results. |
| FormTestBase::$controllerResolver |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The controller resolver. |
| FormTestBase::$csrfToken |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The CSRF token generator. |
| FormTestBase::$elementInfo |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The element info manager. |
| FormTestBase::$eventDispatcher |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The event dispatcher. |
| FormTestBase::$formBuilder |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The form builder being tested. |
| FormTestBase::$formCache |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The form cache. |
| FormTestBase::$formSubmitter |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$formValidator |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$kernel |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$logger |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$moduleHandler |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The mocked module handler. |
| FormTestBase::$redirectResponseSubscriber |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$request |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The request. |
| FormTestBase::$requestStack |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The request stack. |
| FormTestBase::$themeManager |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The mocked theme manager. |
| FormTestBase::$translationManager |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
|
| FormTestBase::$urlGenerator |
property |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
The mocked URL generator. |
| FormTestBase::assertFormElement |
function |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
Asserts that the expected form structure is found in a form for a given key. |
| FormTestBase::getInfo |
function |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
A stub method returning properties for the defined element type. |