You are here

function i18nstrings_menu in Internationalization 5.2

Same name and namespace in other branches
  1. 5.3 i18nstrings/i18nstrings.module \i18nstrings_menu()
  2. 5 experimental/i18nstrings.module \i18nstrings_menu()
  3. 6 i18nstrings/i18nstrings.module \i18nstrings_menu()

Implementation of hook_menu().

File

experimental/i18nstrings.module, line 19
Internationalization (i18n) package - translattable strings

Code

function i18nstrings_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/i18n/strings',
      'type' => MENU_LOCAL_TASK,
      'title' => t('Strings'),
      'description' => t('Translatable strings.'),
      'callback' => 'i18nstrings_admin',
      'access' => user_access('administer site configuration'),
    );
  }
  else {
  }
  return $items;
}