You are here

function sheetnode_ethercalc_menu in Sheetnode 7

Same name and namespace in other branches
  1. 6 modules/sheetnode_ethercalc/sheetnode_ethercalc.module \sheetnode_ethercalc_menu()
  2. 7.2 modules/sheetnode_ethercalc/sheetnode_ethercalc.module \sheetnode_ethercalc_menu()

Implements hook_menu().

File

modules/sheetnode_ethercalc/sheetnode_ethercalc.module, line 42
Module file for the sheetnode_ethercalc module. This extends sheetnodes to allow syncronising with Ethercalc.

Code

function sheetnode_ethercalc_menu() {
  $items = array();
  $items['admin/config/content/sheetnode/ethercalc'] = array(
    'title' => 'EtherCalc',
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      '_sheetnode_ethercalc_settings',
    ),
    'description' => 'Administer settings for Sheetnode EtherCalc.',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}