function block_refresh_menu in Block Refresh 7
Same name and namespace in other branches
- 5 block_refresh.module \block_refresh_menu()
- 6 block_refresh.module \block_refresh_menu()
- 7.2 block_refresh.module \block_refresh_menu()
Implements hook_menu(). DRUPAL 7 STATUS: WORKING!
File
- ./
block_refresh.module, line 119
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;
}