You are here

public function KeyboardZoom::getSummary in Openlayers 8.4

Returns a render array summarizing the configuration of the image effect.

Return value

array A render array.

Overrides OpenlayersPluginBase::getSummary

File

src/Plugin/OpenlayersInteraction/KeyboardZoom.php, line 26

Class

KeyboardZoom
Defines the Keyboard Zoom interaction for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersInteraction

Code

public function getSummary() {
  $summary = [
    '#theme' => 'openlayers_control_summary',
    '#data' => $this->configuration,
  ];
  $summary += parent::getSummary();
  return $summary;
}