function block_access_menu in Block Access 6.2
Same name and namespace in other branches
- 6 block_access.module \block_access_menu()
- 7 block_access.module \block_access_menu()
File
- ./
block_access.module, line 63
Code
function block_access_menu() {
$items[BLOCK_ACCESS_SETTINGS] = array(
'title' => 'Block Access Settings',
'description' => 'Configure block access defaults',
'access arguments' => array(
BLOCK_ACCESS_ADMIN,
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'block_access_admin_list',
),
'type' => MENU_LOCAL_TASK,
'file' => 'block_access.admin.inc',
);
$items[BLOCK_ACCESS_SETTINGS . '/edit'] = array(
'title' => 'Block Access Settings',
'description' => 'Configure block access defaults',
'access arguments' => array(
BLOCK_ACCESS_ADMIN,
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'block_access_module_form',
5,
),
'type' => MENU_CALLBACK,
'file' => 'block_access.admin.inc',
);
return $items;
}