You are here

function openlayers_preset_delete in Openlayers 6.2

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

Delete a preset object from the database.

Parameters

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

Return value

The results of DB delete.

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

File

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

Code

function openlayers_preset_delete($preset) {
  return openlayers_object_delete($preset, 'preset');
}