You are here

public function EpicForm::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_epic/src/Form/EpicForm.php, line 36

Class

EpicForm
Form controller for Epic edit forms.

Namespace

Drupal\pm_epic\Form

Code

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

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