function theme_test_menu

Implements hook_menu().

File

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

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,
    );
    $items['theme-test/drupal-add-region-content'] = array(
        'page callback' => '_theme_test_drupal_add_region_content',
        'access callback' => TRUE,
        'type' => MENU_CALLBACK,
    );
    $items['theme-test/engine-info-test'] = array(
        'description' => "Serves a simple page rendered using a Nyan Cat theme engine template.",
        'page callback' => '_theme_test_engine_info_test',
        'access callback' => TRUE,
        'type' => MENU_CALLBACK,
    );
    return $items;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.