diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-02-14 15:47:30 -0500 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-02-14 15:47:30 -0500 |
commit | 235d8c7f824cb47f4dcea387da13e1281632b468 (patch) | |
tree | 4a9212a4ed881d0a790ce09e8efa1f40636d5418 /modules/system/system.api.php | |
parent | 74b7b4466c62a18d6140b273208d5d332602410a (diff) | |
download | brdo-235d8c7f824cb47f4dcea387da13e1281632b468.tar.gz brdo-235d8c7f824cb47f4dcea387da13e1281632b468.tar.bz2 |
Issue #1426150 by kafitz: Fixed hook_menu() example function to match 8.x version
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index b3a599990..620a536df 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1208,15 +1208,15 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * http://drupal.org/node/102338. */ function hook_menu() { - $items['blog'] = array( - 'title' => 'blogs', - 'page callback' => 'blog_page', + $items['example'] = array( + 'title' => 'Example Page', + 'page callback' => 'example_page', 'access arguments' => array('access content'), 'type' => MENU_SUGGESTED_ITEM, ); - $items['blog/feed'] = array( - 'title' => 'RSS feed', - 'page callback' => 'blog_feed', + $items['example/feed'] = array( + 'title' => 'Example RSS feed', + 'page callback' => 'example_feed', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, ); |