public function UserModuleStatusForm::buildForm in Opigno module 8
Same name and namespace in other branches
- 3.x src/Form/UserModuleStatusForm.php \Drupal\opigno_module\Form\UserModuleStatusForm::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 EntityForm::buildForm
File
- src/
Form/ UserModuleStatusForm.php, line 18
Class
- UserModuleStatusForm
- Form controller for User module status edit forms.
Namespace
Drupal\opigno_module\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
/* @var $entity \Drupal\opigno_module\Entity\UserModuleStatus */
$form = parent::buildForm($form, $form_state);
return $form;
}