function block_refresh_menu in Block Refresh 7.2
Same name and namespace in other branches
- 5 block_refresh.module \block_refresh_menu()
- 6 block_refresh.module \block_refresh_menu()
- 7 block_refresh.module \block_refresh_menu()
Implements hook_menu().
File
- ./
block_refresh.module, line 180
Code
function block_refresh_menu() {
$items = array();
// this will display the contents of a block, if it's configured with Block Refresh
$items['block_refresh'] = array(
'title' => 'Block refresh block content',
'page callback' => 'block_refresh_block_content',
'access arguments' => array(
BLOCK_REFRESH_ACCESS_CONTENT_PERMISSION,
),
'type' => MENU_CALLBACK,
);
return $items;
}