function block_test_block_info_alter

Implements hook_block_info_alter().

File

modules/block/tests/block_test.module, line 63

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.