function block_test_block_info_alter

7.x block_test.module block_test_block_info_alter(&$blocks)

Implements hook_block_info_alter().

File

drupal-7.x/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;
  }
}