You are here

function floating_block_menu in Floating block 6

Same name and namespace in other branches
  1. 7 floating_block.module \floating_block_menu()

Implementation of hook_menu().

File

./floating_block.module, line 25
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/settings/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;
}