public function EventSettingsForm::buildForm in Event 8
Defines the settings form for Event 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
- src/
Form/ EventSettingsForm.php, line 48
Class
- EventSettingsForm
- Class EventSettingsForm.
Namespace
Drupal\event\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['event_settings']['#markup'] = 'Settings form for Event entities. Manage field settings here.';
return $form;
}