You are here

function blockgroup_module_implements_alter in Block Group 7

Same name and namespace in other branches
  1. 7.2 blockgroup.module \blockgroup_module_implements_alter()

Implements hook_module_implements_alter().

File

./blockgroup.module, line 235
Add block groups to block configuration page

Code

function blockgroup_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'block_list_alter' || $hook == 'page_alter') {
    $implementation = $implementations['blockgroup'];
    unset($implementations['blockgroup']);
    $implementations['blockgroup'] = $implementation;
  }
}