function restrict_ip_block_view_system_main_alter in Restrict IP 7.2
Implements hook_block_view_MODULE_DELTA_alter().
Adds a key that is used to identify the main content block, so that it is not unset in hook_block_view_alter().
File
- ./
restrict_ip.module, line 297 - Holds hooks for the restrict_ip module.
Code
function restrict_ip_block_view_system_main_alter(&$vars) {
$vars['block_id'] = 'system-main';
}