You are here

function multiblock_block_sort in MultiBlock 7

Same name and namespace in other branches
  1. 5 multiblock.module \multiblock_block_sort()
  2. 6 multiblock.module \multiblock_block_sort()

Custom sort based on info element of array.

1 string reference to 'multiblock_block_sort'
multiblock_general in ./multiblock.module
Page callback for the "Manage Block Instances page".

File

./multiblock.module, line 366
Enhances the block API, as provided by D7 Core.

Code

function multiblock_block_sort($a, $b) {
  return strcmp($a['info'], $b['info']);
}