1 icon_test.module | icon_test_menu() |
Implements hook_menu().
File
- core/
modules/ simpletest/ tests/ icon_test/ icon_test.module, line 10 - Provides testing hooks for Icon API.
Code
function icon_test_menu() {
$items['icon-content/%'] = array(
'page callback' => '_icon_test_content',
'page arguments' => array(1, 2),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
$items['icon-path/%'] = array(
'page callback' => '_icon_test_path',
'page arguments' => array(1, 2),
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}