function StateDemo::getFormId

Same name in other branches
  1. 4.0.x modules/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';
}