You are here

public function Overview::getFormId in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/forum/src/Form/Overview.php \Drupal\forum\Form\Overview::getFormId()
  2. 10 core/modules/forum/src/Form/Overview.php \Drupal\forum\Form\Overview::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 OverviewTerms::getFormId

File

core/modules/forum/src/Form/Overview.php, line 22

Class

Overview
Provides forum overview form for the forum vocabulary.

Namespace

Drupal\forum\Form

Code

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