You are here

function insert_menu in Insert 7

Implements hook_menu().

File

./insert.module, line 47
Allows insertion of files, images, and other media directly into the body field by using an "Insert" button next to the uploaded file.

Code

function insert_menu() {
  $items = array();
  $items['admin/config/content/insert'] = array(
    'title' => 'Insert module settings',
    'description' => 'Global configuration for the Insert module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'insert_admin',
    ),
    'access arguments' => array(
      'administer filters',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}