public function StateDemo::getFormId in Examples for Developers 3.x
Same name and namespace in other branches
- 8 form_api_example/src/Form/StateDemo.php \Drupal\form_api_example\Form\StateDemo::getFormId()
Getter method for Form ID.
@inheritdoc
Overrides FormInterface::getFormId
File
- modules/
form_api_example/ src/ Form/ StateDemo.php, line 86
Class
- StateDemo
- Implements the state demo form controller.
Namespace
Drupal\form_api_example\FormCode
public function getFormId() {
return 'form_api_example_state_demo';
}