You are here

public function OpenlayersPluginBase::getSummary in Openlayers 8.4

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

Return value

array A render array.

Overrides OpenlayersPluginInterface::getSummary

16 calls to OpenlayersPluginBase::getSummary()
Attribution::getSummary in src/Plugin/OpenlayersControl/Attribution.php
Returns a render array summarizing the configuration of the image effect.
DragPan::getSummary in src/Plugin/OpenlayersInteraction/DragPan.php
Returns a render array summarizing the configuration of the image effect.
DragRotate::getSummary in src/Plugin/OpenlayersInteraction/DragRotate.php
Returns a render array summarizing the configuration of the image effect.
Fill::getSummary in src/Plugin/OpenlayersStyle/Fill.php
Returns a render array summarizing the configuration of the image effect.
FullScreen::getSummary in src/Plugin/OpenlayersControl/FullScreen.php
Returns a render array summarizing the configuration of the image effect.

... See full list

16 methods override OpenlayersPluginBase::getSummary()
Attribution::getSummary in src/Plugin/OpenlayersControl/Attribution.php
Returns a render array summarizing the configuration of the image effect.
DragPan::getSummary in src/Plugin/OpenlayersInteraction/DragPan.php
Returns a render array summarizing the configuration of the image effect.
DragRotate::getSummary in src/Plugin/OpenlayersInteraction/DragRotate.php
Returns a render array summarizing the configuration of the image effect.
Fill::getSummary in src/Plugin/OpenlayersStyle/Fill.php
Returns a render array summarizing the configuration of the image effect.
FullScreen::getSummary in src/Plugin/OpenlayersControl/FullScreen.php
Returns a render array summarizing the configuration of the image effect.

... See full list

File

src/OpenlayersPluginBase.php, line 89

Class

OpenlayersPluginBase
Provides a base class for image effects.

Namespace

Drupal\openlayers

Code

public function getSummary() {
  return [
    '#markup' => '',
    '#effect' => [
      'id' => $this->pluginDefinition['id'],
      'label' => $this
        ->label(),
      'description' => $this->pluginDefinition['description'],
    ],
  ];
}