public function SiteSettingEntitySettingsForm::buildForm in Site Settings and Labels 8
Defines the settings form for Site Setting 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/ SiteSettingEntitySettingsForm.php, line 50
Class
- SiteSettingEntitySettingsForm
- Class SiteSettingEntitySettingsForm.
Namespace
Drupal\site_settings\FormCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form['SiteSettingEntity_settings']['#markup'] = 'Settings form for Site Setting entities. Manage field settings here.';
return $form;
}