function _blockreference_block_sorter in Block reference 7
Helper to sort block titles.
1 string reference to '_blockreference_block_sorter'
- _blockreference_sort_blocks in ./
blockreference.module - Helper to sort block objects.
File
- ./
blockreference.module, line 947 - Defines a field type for referencing a block from a node.
Code
function _blockreference_block_sorter($block1, $block2) {
return strnatcasecmp($block1->info, $block2->info);
}