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