public function CourseContentForm::buildForm in Opigno course 8
Same name and namespace in other branches
- 3.x src/Form/CourseContentForm.php \Drupal\opigno_course\Form\CourseContentForm::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides FormInterface::buildForm
File
- src/
Form/ CourseContentForm.php, line 46
Class
- CourseContentForm
- Class CourseContentForm.
Namespace
Drupal\opigno_course\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
return $form;
}