You are here

public function EditableFieldsForm::getFormId in Editable Fields 8

Same name and namespace in other branches
  1. 1.0.x src/Form/EditableFieldsForm.php \Drupal\editablefields\Form\EditableFieldsForm::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

1 call to EditableFieldsForm::getFormId()
EditableFieldsForm::buildForm in src/Form/EditableFieldsForm.php
Form constructor.

File

src/Form/EditableFieldsForm.php, line 57

Class

EditableFieldsForm
Class EditableFieldsForm.

Namespace

Drupal\editablefields\Form

Code

public function getFormId() {
  return $this
    ->getBaseFormId() . '_' . $this
    ->prepareUniqueFormId();
}