function _openlayers_ui_sort_behaviors in Openlayers 7.2
Callback sorting behaviors alphabetically
1 string reference to '_openlayers_ui_sort_behaviors'
- openlayers_ui_get_behavior_options in modules/
openlayers_ui/ includes/ openlayers_ui.maps.inc - Get behavior options.
File
- modules/
openlayers_ui/ includes/ openlayers_ui.maps.inc, line 229 - This file holds the functions handling maps in the Openlayers UI.
Code
function _openlayers_ui_sort_behaviors($a, $b) {
return strnatcmp($a['title'], $b['title']);
}