You are here

public function OpenlayersMap::getInteraction in Openlayers 8.4

Overrides OpenlayersMapInterface::getInteraction

File

src/Entity/OpenlayersMap.php, line 232

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

public function getInteraction($interaction) {
  return $this
    ->getInteractions()
    ->get($interaction);
}