You are here

public function EnrollRequestAnonymousForm::getFormId in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/src/Form/EnrollRequestAnonymousForm.php \Drupal\social_event\Form\EnrollRequestAnonymousForm::getFormId()
  2. 10.3.x modules/social_features/social_event/src/Form/EnrollRequestAnonymousForm.php \Drupal\social_event\Form\EnrollRequestAnonymousForm::getFormId()
  3. 10.1.x modules/social_features/social_event/src/Form/EnrollRequestAnonymousForm.php \Drupal\social_event\Form\EnrollRequestAnonymousForm::getFormId()
  4. 10.2.x modules/social_features/social_event/src/Form/EnrollRequestAnonymousForm.php \Drupal\social_event\Form\EnrollRequestAnonymousForm::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

modules/social_features/social_event/src/Form/EnrollRequestAnonymousForm.php, line 17

Class

EnrollRequestAnonymousForm
Provides a form to request event enrollment for anonymous.

Namespace

Drupal\social_event\Form

Code

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