You are here

public function FormTestNumberForm::getFormId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/form_test/src/Form/FormTestNumberForm.php \Drupal\form_test\Form\FormTestNumberForm::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/FormTestNumberForm.php, line 21
Contains \Drupal\form_test\Form\FormTestNumberForm.

Class

FormTestNumberForm
Builds a form to test #type 'number' and 'range' validation.

Namespace

Drupal\form_test\Form

Code

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