You are here

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

Class

DragRotate
Defines the Drag Rotate 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;
}