You are here

function languageicons_menu in Language Icons 6.2

Same name and namespace in other branches
  1. 6 languageicons.module \languageicons_menu()
  2. 7 languageicons.module \languageicons_menu()

Implementation of hook_menu().

File

./languageicons.module, line 47
Icons for language links.

Code

function languageicons_menu() {
  $items['admin/settings/language/icons'] = array(
    'title' => 'Icons',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'languageicons_admin_settings',
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
    'access arguments' => array(
      'administer languages',
    ),
    'file' => 'languageicons.admin.inc',
  );
  return $items;
}