public function SubTaskSettingsForm::buildForm in Drupal PM (Project Management) 4.x
Defines the settings form for Sub 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/
pm_sub_task/ src/ Form/ SubTaskSettingsForm.php, line 48
Class
- SubTaskSettingsForm
- Sub Task settings form.
Namespace
Drupal\pm_sub_task\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['subtask_settings']['#markup'] = 'Settings form for Sub task entities. Manage field settings here.';
return $form;
}