You are here

public function FormTestStatePersistForm::getFormId in Zircon Profile 8

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

Class

FormTestStatePersistForm
Form constructor for testing form state persistence.

Namespace

Drupal\form_test\Form

Code

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