FormTestLabelForm::$typesWithTitle
Same name in other branches
- 8.9.x core/modules/system/tests/modules/form_test/src/Form/FormTestLabelForm.php \Drupal\form_test\Form\FormTestLabelForm::typesWithTitle
- 10 core/modules/system/tests/modules/form_test/src/Form/FormTestLabelForm.php \Drupal\form_test\Form\FormTestLabelForm::typesWithTitle
- 11.x core/modules/system/tests/modules/form_test/src/Form/FormTestLabelForm.php \Drupal\form_test\Form\FormTestLabelForm::typesWithTitle
An array of elements that render a title.
Type: array
File
-
core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLabelForm.php, line 20
Class
- FormTestLabelForm
- A form for testing form labels and required marks.
Namespace
Drupal\form_test\FormCode
public static $typesWithTitle = [
'checkbox',
'checkboxes',
'color',
'date',
'datelist',
'datetime',
'details',
'email',
'fieldset',
'file',
'item',
'managed_file',
'number',
'password',
'password_confirm',
'radio',
'radios',
'range',
'search',
'select',
'tel',
'textarea',
'textfield',
'text_format',
'url',
'weight',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.