2 * Implements hook_block_view_MODULE_DELTA_alter().
4 function {{ machine_name }}_block_view_MODULE_DELTA_alter(&$data, $block) {
5 // This code will only run for a specific block. For example, if MODULE_DELTA
6 // in the function definition above is set to "mymodule_somedelta", the code
7 // will only run on the "somedelta" block provided by the "mymodule" module.
9 // Change the title of the "somedelta" block provided by the "mymodule"
11 $data['subject'] = t('New title of the block');