You are here

public function FormTestValidateRequiredForm::getFormId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php \Drupal\form_test\Form\FormTestValidateRequiredForm::getFormId()

Returns a unique string identifying the form.

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

core/modules/system/tests/modules/form_test/src/Form/FormTestValidateRequiredForm.php, line 21
Contains \Drupal\form_test\Form\FormTestValidateRequiredForm.

Class

FormTestValidateRequiredForm
Form constructor to test the #required property.

Namespace

Drupal\form_test\Form

Code

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