function persiantools_menu in PersianTools 7
Implements hook_menu().
File
- ./
persiantools.module, line 39 - Adds common features and fixes for persian pages.
Code
function persiantools_menu() {
$items['admin/config/persiantools'] = array(
'title' => 'Persian Tools',
'description' => 'Implements common features and missing fixes for the Perisan language.',
'position' => 'right',
'weight' => -5,
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array(
'administer site configuration',
),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/config/persiantools/settings'] = array(
'title' => 'Persian Tools Settings',
'description' => 'PersianTools features can be managed here!',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'persiantools_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'persiantools.admin.inc',
);
return $items;
}