function _fe_block_compare in Features Extra 7
Same name and namespace in other branches
- 6 fe_block.module \_fe_block_compare()
Callback for usort(). Sorts blocks on "module" and "delta".
1 string reference to '_fe_block_compare'
- fe_block_settings_features_export_options in fe_block/
fe_block.module - Implements hook_features_export_options().
File
- fe_block/
fe_block.module, line 982 - Provide features components for exporting core blocks and settings.
Code
function _fe_block_compare($a, $b) {
$module_cmp = strcmp($a['module'], $b['module']);
if (!empty($module_cmp)) {
return $module_cmp;
}
return strcmp($a['delta'], $b['delta']);
}