You are here

public function MapInteraction::getConfiguration in Openlayers 8.4

File

src/MapInteraction.php, line 51

Class

MapInteraction
Contains details of how a interaction is joined to a map.

Namespace

Drupal\openlayers

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->id(),
    'weight' => $this
      ->getWeight(),
    'data' => $this->configuration,
  ];
}