You are here

public function SettingsForm::getFormId in Synonyms 2.0.x

Same name in this branch
  1. 2.0.x src/Form/SettingsForm.php \Drupal\synonyms\Form\SettingsForm::getFormId()
  2. 2.0.x modules/synonyms_list_field/src/Form/SettingsForm.php \Drupal\synonyms_list_field\Form\SettingsForm::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

src/Form/SettingsForm.php, line 70

Class

SettingsForm
Defines a form that configures forms module settings.

Namespace

Drupal\synonyms\Form

Code

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