You are here

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

Class

Rotate
Defines the Rotate control for an Openlayers map.

Namespace

Drupal\openlayers\Plugin\OpenlayersControl

Code

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