You are here

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

FilebrowserSettingsForm

Namespace

Drupal\filebrowser\Entity\Form

Code

public function buildForm(array $form, array &$form_state) {
  $form['filebrowser_settings']['#markup'] = 'Settings form for FooBar. Manage field settings here.';
  return $form;
}