You are here

public function LongIdForm::getFormId in CAPTCHA 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

modules/captcha_long_form_id_test/src/Form/LongIdForm.php, line 16

Class

LongIdForm
Class LongIdForm.

Namespace

Drupal\captcha_long_form_id_test\Form

Code

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