You are here

function flatcomments_existing_menu in Flatcomments 6

Same name and namespace in other branches
  1. 6.2 flatcomments_existing/flatcomments_existing.module \flatcomments_existing_menu()

Implementation of hook_menu().

File

flatcomments_existing/flatcomments_existing.module, line 22
Remove threading from existing comments by content type.

Code

function flatcomments_existing_menu() {
  $items = array();
  $items['admin/content/comment/flatten'] = array(
    'title' => 'Flatten comments',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'flatcomments_existing_form',
    ),
    'access callback' => 'flatcomments_existing_flatten_access',
    'file' => 'flatcomments_existing.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}