function image_example_menu in Examples for Developers 7
Implements hook_menu().
Provide a menu item and a page to demonstrate features of this example module.
Related topics
File
- image_example/
image_example.module, line 48 - Module file for image_example
Code
function image_example_menu() {
$items = array();
$items['image_example/styles'] = array(
'title' => 'Image Example',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'image_example_style_form',
),
'access arguments' => array(
'access content',
),
'file' => 'image_example.pages.inc',
);
return $items;
}