You are here

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

Class

NoteForm
Form controller for Note edit forms.

Namespace

Drupal\pm_note\Form

Code

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

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