You are here

function mb_content_menu in More Buttons 7

Implements hook_menu().

File

mb_content/mb_content.module, line 34
Provides additional buttons for nodes.

Code

function mb_content_menu() {
  $items = array();
  $items['admin/config/mb/buttons/more-buttons-content'] = array(
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mb_content_admin',
    ),
    'title' => 'Contents',
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'An overview of what content type uses buttons/functions of the MB Content module.',
    'file' => 'mb_content.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 9,
  );
  $items['admin/config/mb/buttons/more-buttons-content/reset'] = array(
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mb_content_reset',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'mb_content.admin.inc',
  );
  return $items;
}