public function DefaultValueTestForm::getFormId in Address 8
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
- tests/
modules/ address_test/ src/ Form/ DefaultValueTestForm.php, line 18
Class
- DefaultValueTestForm
- Used to test the address default value handling inside complex ajax forms.
Namespace
Drupal\address_test\FormCode
public function getFormId() {
return 'address_default_value_test_form';
}