You are here

public function MapInteraction::label in Openlayers 8.4

File

src/MapInteraction.php, line 37

Class

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

Namespace

Drupal\openlayers

Code

public function label() {
  return \Drupal::config('openlayers.interaction.' . $this->id)
    ->get('label');
}