You are here

public function UserSettings::getFormId in Notify 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::getFormId()
  2. 1.0.x src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::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 FormInterface::getFormId

File

src/Form/UserSettings.php, line 70

Class

UserSettings
Defines a form that configures forms module settings.

Namespace

Drupal\notify\Form

Code

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