function layouter_menu in Layouter - WYSIWYG layout templates 7
Implements hook_menu().
File
- ./
layouter.module, line 11 - This module provide ability to add layout to text fields.
Code
function layouter_menu() {
$items = array();
$items['admin/config/content/layouter'] = array(
'title' => 'Layouter',
'description' => 'Layouter settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'layouter_config_main_form',
),
'access arguments' => array(
'administer layouter',
),
'file' => 'includes/layouter.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/layouter/%'] = array(
'title' => 'Choose Layout',
'page callback' => 'layouter_choose_layout',
'page arguments' => array(
2,
),
'access callback' => TRUE,
'file' => 'includes/layouter.pages.inc',
'type' => MENU_CALLBACK,
);
return $items;
}