function _views_bulk_operations_sort_operations_by_label in Views Bulk Operations (VBO) 7.3
Sort function used by uasort in views_bulk_operations_get_operation_info().
A closure would be better suited for this, but closure support was added in PHP 5.3 and D7 supports 5.2.
1 string reference to '_views_bulk_operations_sort_operations_by_label'
- views_bulk_operations_get_operation_info in ./
views_bulk_operations.module - Gets the info array of an operation from the provider plugin.
File
- ./
views_bulk_operations.module, line 216 - Allows operations to be performed on items selected in a view.
Code
function _views_bulk_operations_sort_operations_by_label($a, $b) {
return strcasecmp($a['label'], $b['label']);
}