You are here

public function FileModuleTestForm::getFormId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php \Drupal\file_module_test\Form\FileModuleTestForm::getFormId()
  2. 10 core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php \Drupal\file_module_test\Form\FileModuleTestForm::getFormId()

Returns a unique string identifying the form.

The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

core/modules/file/tests/file_module_test/src/Form/FileModuleTestForm.php, line 18

Class

FileModuleTestForm
Form controller for file_module_test module.

Namespace

Drupal\file_module_test\Form

Code

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