You are here

function ajax_comments_nodejs_menu in AJAX Comments 7

Implements hook_menu().

File

ajax_comments_nodejs/ajax_comments_nodejs.module, line 72
AJAX Comments Nodejs Integration module file

Code

function ajax_comments_nodejs_menu() {
  $items['ajax_comments_nodejs/view/added/%'] = array(
    'page callback' => '_ajax_comments_nodejs_view_added',
    'page arguments' => array(
      3,
    ),
    'delivery callback' => 'ajax_deliver',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['ajax_comments_nodejs/view/updated/%'] = array(
    'page callback' => '_ajax_comments_nodejs_view_updated',
    'page arguments' => array(
      3,
    ),
    'delivery callback' => 'ajax_deliver',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}