You are here

public function UsernameCheckSettings::getFormId in Username originality AJAX check 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 FormInterface::getFormId

File

src/Form/UsernameCheckSettings.php, line 19
Contains \Drupal\username_check\Form\UsernameCheckSettings.

Class

UsernameCheckSettings

Namespace

Drupal\username_check\Form

Code

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