You are here

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

Class

TimeTrackingForm
Form controller for Time tracking edit forms.

Namespace

Drupal\pm_timetracking\Form

Code

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

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