You are here

public function IndexAddFieldsForm::getFormId in Search API 8

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 call to IndexAddFieldsForm::getFormId()
IndexAddFieldsForm::buildForm in src/Form/IndexAddFieldsForm.php
Form constructor.

File

src/Form/IndexAddFieldsForm.php, line 139

Class

IndexAddFieldsForm
Provides a form for adding fields to a search index.

Namespace

Drupal\search_api\Form

Code

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