You are here

function languageicons_menu in Language Icons 7

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

Implements hook_menu().

File

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

Code

function languageicons_menu() {
  $items['admin/config/regional/language/icons'] = array(
    'title' => 'Language 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;
}