You are here

public function DragPan::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/DragPan.php, line 26

Class

DragPan
Defines the Drag Pan interaction for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersInteraction

Code

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