You are here

function block_test_block_info_alter in Drupal 7

Implements hook_block_info_alter().

File

modules/block/tests/block_test.module, line 63
Provide test blocks.

Code

function block_test_block_info_alter(&$blocks) {
  if (variable_get('block_test_info_alter')) {
    $blocks['block_test']['test_html_id']['weight'] = 10000;
  }
}