You are here

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

Class

Stroke
Defines the Line style for Openlayers features.

Namespace

Drupal\openlayers\Plugin\OpenlayersStyle

Code

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