function views_slideshow_xtra_example_menu in Views Slideshow Xtra 7.2
Same name and namespace in other branches
- 7.3 views_slideshow_xtra_example/views_slideshow_xtra_example.module \views_slideshow_xtra_example_menu()
- 7 views_slideshow_xtra_example/views_slideshow_xtra_example.module \views_slideshow_xtra_example_menu()
Implements hook_menu().
File
- views_slideshow_xtra_example/
views_slideshow_xtra_example.module, line 18 - This module creates a Views Slideshow Xtra content type and example slide nodes.
Code
function views_slideshow_xtra_example_menu() {
$items['admin/config/views-slideshow-xtra'] = array(
'title' => 'Views Slideshow Xtra',
'description' => 'Create an Example Views Slideshow Xtra Slideshow.',
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array(
'access administration pages',
),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/config/views-slideshow-xtra/example_nodes'] = array(
'title' => 'Example Nodes',
'description' => 'Generate and Delete VSX Example Nodes.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'views_slideshow_xtra_example_admin_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'weight' => 0,
);
return $items;
}