You are here

public function BootstrapjsAlert::optionsForm in Openlayers 7.3

@TODO What is this return? If it is the form, why is form by reference?

Overrides Base::optionsForm

File

src/Plugin/Component/BootstrapjsAlert/BootstrapjsAlert.php, line 41
Component: Bootstrap JS.

Class

BootstrapjsAlert
Class BootstrapjsAlert.

Namespace

Drupal\openlayers\Plugin\Component\BootstrapjsAlert

Code

public function optionsForm(array &$form, array &$form_state) {
  $form['options']['message'] = array(
    '#type' => 'textarea',
    '#title' => t('Text to display'),
    '#default_value' => $this
      ->getOption('message'),
  );
}