public function DurationElementStatesTestForm::getFormId in Duration Field 3.0.x
Same name and namespace in other branches
- 8.2 tests/modules/duration_field_form_test/src/Form/DurationElementStatesTestForm.php \Drupal\duration_field_form_test\Form\DurationElementStatesTestForm::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
- tests/
modules/ duration_field_form_test/ src/ Form/ DurationElementStatesTestForm.php, line 16
Class
- DurationElementStatesTestForm
- Form for testing JavaScript #states behavior on 'duration' elements.
Namespace
Drupal\duration_field_form_test\FormCode
public function getFormId() {
return 'duration_form_element_states_test';
}