You are here

public function BoardForm::buildForm in Drupal PM (Project Management) 4.x

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

modules/pm_board/src/Form/BoardForm.php, line 36

Class

BoardForm
Form controller for Board edit forms.

Namespace

Drupal\pm_board\Form

Code

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

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