You are here

function activity_comments_menu in Activity 6.2

Same name and namespace in other branches
  1. 7 activity_comments/activity_comments.module \activity_comments_menu()

Implementation of hook_menu().

File

activity_comments/activity_comments.module, line 25
Provides comment handling for activity messages

Code

function activity_comments_menu() {
  $items['activity/comments/delete/%'] = array(
    'title' => 'Delete activty comment',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'activity_comments_comment_delete',
      3,
    ),
    'access callback' => 'activity_comments_delete_access',
    'access arguments' => array(
      3,
    ),
    'type' => MENU_CALLBACK,
  );
  $items['activity/comments/insert'] = array(
    'title' => 'List activty comments',
    'page callback' => 'activity_comments_comment_insert',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}