You are here

function back_to_top_menu in Back To Top 7

Implements hook_page_menu().

File

./back_to_top.module, line 23
Back To Top link using JQuery.

Code

function back_to_top_menu() {
  $items = array();
  $items['admin/config/user-interface/back_to_top'] = array(
    'title' => 'Back To Top',
    'description' => 'Administer Back To Top settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'back_to_top_settings',
    ),
    'access arguments' => array(
      'access back_to_top settings',
    ),
    'file' => 'back_to_top.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}