function content_language_access_menu in Content Language Access 6
Same name and namespace in other branches
- 7 content_language_access.module \content_language_access_menu()
Implements hook_menu().
File
- ./
content_language_access.module, line 12 - This module provides access checking of the current language of the site with the language of the content (language neutral are not considered).
Code
function content_language_access_menu() {
$items['admin/settings/content_language_access'] = array(
'title' => 'Content language access',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'content_language_access_admin_form',
),
'access arguments' => array(
'administer content_language_access settings',
),
'file' => 'content_language_access.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}