You are here

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

Defines the settings form for Time tracking entities.

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 Form definition array.

Overrides FormInterface::buildForm

File

modules/pm_timetracking/src/Form/TimeTrackingSettingsForm.php, line 48

Class

TimeTrackingSettingsForm
Time tracking settings form.

Namespace

Drupal\pm_timetracking\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form['timetracking_settings']['#markup'] = 'Settings form for Time tracking entities. Manage field settings here.';
  return $form;
}