You are here

public function OpenlayersMap::deleteMapStyle in Openlayers 8.4

File

src/Entity/OpenlayersMap.php, line 301

Class

OpenlayersMap
Defines the Openlayers Map entity.

Namespace

Drupal\openlayers\Entity

Code

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