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