You are here

public function LazyProcessing::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/LazyProcessing/LazyProcessing.php, line 22
Component: LazyProcessing.

Class

LazyProcessing
Class LazyProcessing.

Namespace

Drupal\openlayers\Plugin\Component\LazyProcessing

Code

public function optionsForm(array &$form, array &$form_state) {
  $form['documentation'] = array(
    '#type' => 'fieldset',
    '#title' => t('How to use'),
    '#description' => t('If this component is attached to a map you need to start the map processing / display manually by executing following code from a custom javascript: <pre>Drupal.openlayers.asyncIsReady("[map_id]");</pre>'),
  );
}