You are here

public function StateDemo::getFormId in Examples for Developers 3.x

Same name and namespace in other branches
  1. 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\Form

Code

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