1 image_example.module image_example_menu()

Implements hook_menu().

Provide a menu item and a page to demonstrate features of this example module.

Related topics

File

modules/examples/image_example/image_example.module, line 63
Module file for image_example

Code

function image_example_menu() {
  $items = array();
  $items['image_example/styles'] = array(
    'title' => 'Image Example',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('image_example_style_form'),
    'access arguments' => array('access content'),
    'file' => 'image_example.pages.inc',
  );
  return $items;
}