public function FilebrowserSettingsForm::buildForm in Filebrowser 8
Define the form used for settings.
Parameters
array $form: An associative array containing the structure of the form.
array $form_state: An associative array containing the current state of the form.
Return value
array Form definition array.
Overrides FormInterface::buildForm
File
- lib/
Drupal/ filebrowser/ Entity/ Form/ FilebrowserSettingsForm.php, line 41 - Defines Drupal\filebrowser\Entity\Form\FilebrowserSettingsForm.
Class
Namespace
Drupal\filebrowser\Entity\FormCode
public function buildForm(array $form, array &$form_state) {
$form['filebrowser_settings']['#markup'] = 'Settings form for FooBar. Manage field settings here.';
return $form;
}