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