You are here

public function HumansTxtAdminSettingsForm::getFormId in Humans.txt 8

Same name and namespace in other branches
  1. 2.x src/Form/HumansTxtAdminSettingsForm.php \Drupal\humanstxt\Form\HumansTxtAdminSettingsForm::getFormId()

Getter method for Form ID.

The form ID is used in implementations of hook_form_alter() to allow other modules to alter the render array built by this form controller. It must be unique site wide. It normally starts with the providing module's name.

Return value

string The unique ID of the form defined by this class.

Overrides FormInterface::getFormId

File

src/Form/HumansTxtAdminSettingsForm.php, line 28

Class

HumansTxtAdminSettingsForm
Class HumanstxtAdminSettingsForm implements the Humanstxt Settings Form.

Namespace

Drupal\humanstxt\Form

Code

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