You are here

function jalalidate_nodes_menu in PersianTools 7

Implements hook_menu().

File

jalalidate_nodes/jalalidate_nodes.module, line 38

Code

function jalalidate_nodes_menu() {
  $items['admin/config/jalalidate'] = array(
    'title' => 'Jalali Date',
    'description' => 'Implements Jalali date for Views module.',
    '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/jalalidate/settings'] = array(
    'title' => 'Jalali Date Settings',
    'description' => 'Jalali Date features can be managed here!',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'jalalidate_nodes_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'jalalidate_nodes.admin.inc',
  );
  return $items;
}