function openlayers_maps_ui::list_sort_options in Openlayers 7.2
Provide a list of sort options.
Override this if you wish to provide more or change how these work. The actual handling of the sorting will happen in build_row().
Overrides ctools_export_ui::list_sort_options
File
- modules/
openlayers_ui/ plugins/ export_ui/ openlayers_maps_ui.class.php, line 723
Class
- openlayers_maps_ui
- @file
Code
function list_sort_options() {
if (!empty($this->plugin['export']['admin_title'])) {
$options = array(
'disabled' => t('Enabled, title'),
$this->plugin['export']['admin_title'] => t('Title'),
);
}
else {
$options = array(
'disabled' => t('Enabled, title'),
);
}
$options += array(
'storage' => t('Storage'),
);
return $options;
}