theme_test_menu

7 theme_test.module theme_test_menu()
8 theme_test.module theme_test_menu()

Implements hook_menu().

File

modules/simpletest/tests/theme_test.module, line 34

Code

function theme_test_menu() {
  $items['theme-test/suggestion'] = array(
    'title' => 'Suggestion', 
    'page callback' => '_theme_test_suggestion', 
    'access arguments' => array('access content'), 
    'theme callback' => '_theme_custom_theme', 
    'type' => MENU_CALLBACK,
  );
  $items['theme-test/alter'] = array(
    'title' => 'Suggestion', 
    'page callback' => '_theme_test_alter', 
    'access arguments' => array('access content'), 
    'theme callback' => '_theme_custom_theme', 
    'type' => MENU_CALLBACK,
  );
  $items['theme-test/hook-init'] = array(
    'page callback' => 'theme_test_hook_init_page_callback', 
    'access callback' => TRUE, 
    'type' => MENU_CALLBACK,
  );
  return $items;
}
Login or register to post comments