function FormTestOptionalContainerForm::getFormId

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

Overrides FormInterface::getFormId

File

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

Class

FormTestOptionalContainerForm
Builds a simple form to test the #optional property on #type 'container'.

Namespace

Drupal\form_test\Form

Code

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

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