You are here

function _context_block_sort in Context 6.2

Same name and namespace in other branches
  1. 6 context.core.inc \_context_block_sort()

Helper function to sort blocks.

1 string reference to '_context_block_sort'
context_block_list in ./context.core.inc
An alternative version of block_list() that provides any context enabled blocks.

File

./context.core.inc, line 625

Code

function _context_block_sort($a, $b) {
  return $a->weight - $b->weight;
}