public function SimpleForm::getFormId in Form API Validation 8.2
Getter method for Form ID.
The form ID is used in implementations of hook_form_alter() to allow other modules to alter the render array built by this form controller. it must be unique site wide. It normally starts with the providing module's name.
Return value
string The unique ID of the form defined by this class.
Overrides FormInterface::getFormId
File
- fapiv_example/
src/ Form/ SimpleForm.php, line 80
Class
- SimpleForm
- Implements the SimpleForm form controller.
Namespace
Drupal\fapiv_example\FormCode
public function getFormId() {
return 'fapiv_example_simple_form';
}