1 block_test.module block_test_block_info_alter(&$blocks)

Implements hook_block_info_alter().

File

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

Code

function block_test_block_info_alter(&$blocks) {
  if (state_get('block_test_info_alter') && isset($blocks['block_test'])) {
    $blocks['block_test']['test_html_id']['description'] = 'Altered description.';
  }
}