function block_refresh_menu in Block Refresh 6
Same name and namespace in other branches
- 5 block_refresh.module \block_refresh_menu()
- 7.2 block_refresh.module \block_refresh_menu()
- 7 block_refresh.module \block_refresh_menu()
Implemention of hook_menu()
File
- ./
block_refresh.module, line 103
Code
function block_refresh_menu() {
$items = array();
/*
$items['admin/settings/block_refresh'] = array(
'title' => t('Block refresh'),
'description' => t('Settings for automatic and manual refreshing of configured blocks.'),
'page callback' => 'drupal_get_form',
'page arguments' => array('block_refresh_settings'),
'access arguments' => array('administer site configuration'),
);
*/
// this will display the contents of a block, if it's configured with Block Refresh
$items['block_refresh'] = array(
'title' => t('Block refresh block content'),
'page callback' => 'block_refresh_block_content',
'access arguments' => array(
'access block refresh content',
),
'type' => MENU_CALLBACK,
);
return $items;
}