function openlayers_ui_presets_clone in Openlayers 6.2
@file This file holds the functions handling presets in the Openlayers UI.
Related topics
1 string reference to 'openlayers_ui_presets_clone'
- openlayers_ui_menu in modules/
openlayers_ui/ openlayers_ui.module - Implementation of hook_menu
File
- modules/
openlayers_ui/ includes/ openlayers_ui.presets.inc, line 11 - This file holds the functions handling presets in the Openlayers UI.
Code
function openlayers_ui_presets_clone($preset) {
$form_state = array();
drupal_set_title(t('Clone preset %preset', array(
'%preset' => $preset->name,
)));
return drupal_get_form('openlayers_ui_presets_form', $preset);
}