function ElementsLabelsTest::getFormWithLimitedProperties
Same name in other branches
- 9 core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php \Drupal\Tests\system\Functional\Form\ElementsLabelsTest::getFormWithLimitedProperties()
- 10 core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php \Drupal\Tests\system\Functional\Form\ElementsLabelsTest::getFormWithLimitedProperties()
- 11.x core/modules/system/tests/src/Functional/Form/ElementsLabelsTest.php \Drupal\Tests\system\Functional\Form\ElementsLabelsTest::getFormWithLimitedProperties()
Return a form with element with not all properties defined.
1 call to ElementsLabelsTest::getFormWithLimitedProperties()
- ElementsLabelsTest::testFormsInThemeLessEnvironments in core/
modules/ system/ tests/ src/ Functional/ Form/ ElementsLabelsTest.php - Test forms in theme-less environments.
File
-
core/
modules/ system/ tests/ src/ Functional/ Form/ ElementsLabelsTest.php, line 156
Class
- ElementsLabelsTest
- Tests form element labels, required markers and associated output.
Namespace
Drupal\Tests\system\Functional\FormCode
protected function getFormWithLimitedProperties() {
$form = [];
$form['fieldset'] = [
'#type' => 'fieldset',
'#title' => 'Fieldset',
];
return $form;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.