You are here

function radioactivity_node_menu in Radioactivity 6

File

plugins/radioactivity_node.module, line 54
Node radioactivity

Code

function radioactivity_node_menu() {
  $items = array();
  $items['admin/settings/radioactivity/node_radioactivity'] = array(
    'title' => 'Node settings',
    'description' => 'Node-specific radioactivity settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'radioactivity_node_admin_form',
    ),
    'access arguments' => array(
      RADIOACTIVITY_PERM_ADMIN,
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
    'file' => 'radioactivity_node-admin-ui.inc',
  );
  $items['radioactivity_node.php'] = array(
    'page callback' => 'radioactivity_node_ajax_callback',
    'type' => MENU_CALLBACK,
    'access arguments' => array(
      'access content',
    ),
  );
  return $items;
}