You are here

public function CourseOutlineForm::getFormId in Course 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/CourseOutlineForm.php \Drupal\course\Form\CourseOutlineForm::getFormId()
  2. 3.x src/Form/CourseOutlineForm.php \Drupal\course\Form\CourseOutlineForm::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/CourseOutlineForm.php, line 165

Class

CourseOutlineForm

Namespace

Drupal\course\Form

Code

public function getFormId() : string {
  return 'course_outline_overview_form';
}