public function TestForm::buildForm in Coder 8.2
Same name in this branch
- 8.2 coder_sniffer/DrupalPractice/Test/Objects/GlobalFunctionUnitTest.inc \TestForm::buildForm()
- 8.2 coder_sniffer/DrupalPractice/Test/Objects/GlobalDrupalUnitTest.inc \TestForm::buildForm()
- 8.2 coder_sniffer/DrupalPractice/Test/Objects/GlobalClassUnitTest.inc \TestForm::buildForm()
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/Objects/GlobalDrupalUnitTest.inc \TestForm::buildForm()
- 8.3 tests/DrupalPractice/Objects/GlobalClassUnitTest.inc \TestForm::buildForm()
- 8.3 tests/DrupalPractice/Objects/drupal8/TestForm.php \TestForm::buildForm()
- 8.3.x tests/DrupalPractice/Objects/GlobalDrupalUnitTest.inc \TestForm::buildForm()
- 8.3.x tests/DrupalPractice/Objects/GlobalClassUnitTest.inc \TestForm::buildForm()
- 8.3.x tests/DrupalPractice/Objects/drupal8/TestForm.php \TestForm::buildForm()
File
- coder_sniffer/
DrupalPractice/ Test/ Objects/ GlobalFunctionUnitTest.inc, line 5
Class
Code
public function buildForm($form, $form_state) {
$form['something'] = t('Example text');
$form['another'] = $this
->t('test');
}