function galleria_menu in Galleria 6
Same name and namespace in other branches
- 7 galleria.module \galleria_menu()
Implementation of hook_menu().
File
- ./
galleria.module, line 128 - Turns a node into a Galleria image gallery.
Code
function galleria_menu() {
$items['galleria_html'] = array(
'page callback' => 'galleria_html',
'access callback' => 'user_access',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/galleria'] = array(
'title' => 'Galleria settings',
'description' => 'Change the Galleria settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'galleria_admin_settings',
),
'access arguments' => array(
'administer galleria',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'galleria.admin.inc',
);
return $items;
}