Implements hook_module_implements_alter().
block_drupal_alter_foo_alter()
function common_test_module_implements_alter(&$implementations, $hook) {
// For drupal_alter(array('drupal_alter', 'drupal_alter_foo'), ...), make the
// block module implementations run after all the other modules. Note that
// when drupal_alter() is called with an array of types, the first type is
// considered primary and controls the module order.
if ($hook == 'drupal_alter_alter' && isset($implementations['block'])) {
$group = $implementations['block'];
unset($implementations['block']);
$implementations['block'] = $group;
}
}