You are here

public function OpenlayersMap::deleteMapControl in Openlayers 8.4

File

src/Entity/OpenlayersMap.php, line 309

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

public function deleteMapControl($configuration) {
  $uuid = $configuration->uuid;
  unset($this->controls[$uuid]);
}