function floating_block_menu in Floating block 7
Same name and namespace in other branches
- 6 floating_block.module \floating_block_menu()
Implements hook_menu().
File
- ./
floating_block.module, line 30 - The floating_block module allows parts of the site to stay on the page when scrolling.
Code
function floating_block_menu() {
$items = array();
$items['admin/config/user-interface/floating-block'] = array(
'title' => 'Floating block',
'description' => 'Configure floating block.',
'access arguments' => array(
'administer site configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'floating_block_admin',
),
'file' => 'floating_block.admin.inc',
);
return $items;
}