You are here

public function LingotekProfileFormBase::getFormId in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  2. 4.0.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  3. 3.0.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  4. 3.1.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  5. 3.2.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  6. 3.3.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  7. 3.4.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  8. 3.5.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  9. 3.6.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  10. 3.7.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::getFormId()
  11. 3.8.x src/Form/LingotekProfileFormBase.php \Drupal\lingotek\Form\LingotekProfileFormBase::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 EntityForm::getFormId

1 method overrides LingotekProfileFormBase::getFormId()
LingotekProfileEditForm::getFormId in src/Form/LingotekProfileEditForm.php
Returns a unique string identifying the form.

File

src/Form/LingotekProfileFormBase.php, line 52
Contains \Drupal\lingotek\Form\LingotekProfileFormBase.

Class

LingotekProfileFormBase
Provides a common base class for Profile forms.

Namespace

Drupal\lingotek\Form

Code

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