You are here

public function LeafletDemoForm::getFormId in Leaflet More Maps 2.1.x

Same name and namespace in other branches
  1. 8 leaflet_demo/src/Form/LeafletDemoForm.php \Drupal\leaflet_demo\Form\LeafletDemoForm::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

leaflet_demo/src/Form/LeafletDemoForm.php, line 39

Class

LeafletDemoForm
Class LeafletDemoForm.

Namespace

Drupal\leaflet_demo\Form

Code

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