You are here

function openlayers_layer_delete in Openlayers 7.2

Same name and namespace in other branches
  1. 6.2 openlayers.module \openlayers_layer_delete()

Delete a layer object from the database.

Parameters

$layer: String identifier of a layer or layer object with name.

Return value

The results of DB delete.

File

./openlayers.module, line 617
Main OpenLayers API File

Code

function openlayers_layer_delete($layer) {
  return openlayers_object_delete($layer, 'layer');
}