You are here

public function UserModuleStatusForm::buildForm in Opigno module 8

Same name and namespace in other branches
  1. 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\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  /* @var $entity \Drupal\opigno_module\Entity\UserModuleStatus */
  $form = parent::buildForm($form, $form_state);
  return $form;
}