You are here

function blockcache_alter_module_implements_alter in Block Cache Alter 7

Implements hook_module_implements_alter().

File

./blockcache_alter.module, line 308
Block cache alter module.

Code

function blockcache_alter_module_implements_alter(&$implementations, $hook) {

  // Ensure our hook_block_info_alter() implementation trumps all others.
  if ($hook == 'block_info_alter') {
    $bca_group = $implementations['blockcache_alter'];
    unset($implementations['blockcache_alter']);
    $implementations['blockcache_alter'] = $bca_group;
  }
}