function opengraph_meta_menu in Open Graph meta tags 7
Same name and namespace in other branches
- 6 opengraph_meta.module \opengraph_meta_menu()
Implementation of hook_menu.
File
- ./
opengraph_meta.module, line 10
Code
function opengraph_meta_menu() {
$admin_access = array(
OPENGRAPH_META_PERM_ADMIN,
);
$menupath = OPENGRAPH_META_MENU_ADMIN;
$items[$menupath] = array(
'title' => 'Open Graph meta tags',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'opengraph_meta_settings_form',
),
'description' => 'Configure meta tags for Facebook sharing.',
'access arguments' => $admin_access,
'file' => 'opengraph_meta.admin.inc',
'menu_name' => 'management',
);
return $items;
}