function StateDemo::getFormId

Getter method for Form ID.

@inheritdoc

Return value

string The unique string identifying the form.

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';
}