You are here

function comment_goodness_menu in Comment goodness 7

Implements hook_menu().

File

./comment_goodness.module, line 177
Comment goodness provides newest to oldest comment sorting

Code

function comment_goodness_menu() {
  $items = array();
  $items['comment/%comment/delete-own'] = array(
    'title' => 'Delete',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'comment_goodness_confirm_delete',
      1,
    ),
    'access callback' => 'comment_goodness_delete_comment_access',
    'access arguments' => array(
      1,
    ),
    'type' => MENU_CALLBACK,
    'weight' => 2,
  );
  return $items;
}