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