You are here

public function TaskSettingsForm::buildForm in General Data Protection Regulation 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/gdpr_tasks/src/Form/TaskSettingsForm.php \Drupal\gdpr_tasks\Form\TaskSettingsForm::buildForm()
  2. 8 modules/gdpr_tasks/src/Form/TaskSettingsForm.php \Drupal\gdpr_tasks\Form\TaskSettingsForm::buildForm()

Defines the settings form for Task 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/gdpr_tasks/src/Form/TaskSettingsForm.php, line 48

Class

TaskSettingsForm
Class TaskSettingsForm.

Namespace

Drupal\gdpr_tasks\Form

Code

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