function FormTestRequiredAttributeForm::getFormId

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/form_test/src/Form/FormTestRequiredAttributeForm.php \Drupal\form_test\Form\FormTestRequiredAttributeForm::getFormId()
  2. 10 core/modules/system/tests/modules/form_test/src/Form/FormTestRequiredAttributeForm.php \Drupal\form_test\Form\FormTestRequiredAttributeForm::getFormId()
  3. 11.x core/modules/system/tests/modules/form_test/src/Form/FormTestRequiredAttributeForm.php \Drupal\form_test\Form\FormTestRequiredAttributeForm::getFormId()

Overrides FormInterface::getFormId

File

core/modules/system/tests/modules/form_test/src/Form/FormTestRequiredAttributeForm.php, line 18

Class

FormTestRequiredAttributeForm
Builds a form to test the required attribute.

Namespace

Drupal\form_test\Form

Code

public function getFormId() {
    return 'form_test_required_attribute';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.