You are here

function _blockreference_sort_blocks in Block reference 7

Helper to sort block objects.

1 call to _blockreference_sort_blocks()
_blockreference_potential_references_standard in ./blockreference.module
Build an array of all candidate referenced blocks.

File

./blockreference.module, line 940
Defines a field type for referencing a block from a node.

Code

function _blockreference_sort_blocks(&$blocks) {
  uasort($blocks, '_blockreference_block_sorter');
}