You are here

function openlayers_style_delete in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 openlayers.module \openlayers_style_delete()

Delete a style object from the database.

Parameters

$preset: String identifier of a style or style object with name.

Return value

The results of DB delete.

1 call to openlayers_style_delete()
openlayers_ui_object_delete_submit in modules/openlayers_ui/openlayers_ui.module
Form Submit Callback for Preset Delete Form

File

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

Code

function openlayers_style_delete($style) {
  return openlayers_object_delete($style, 'style');
}