diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-20 08:39:40 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-20 08:39:40 +0000 |
commit | b922148c87233ebd4f2411a0efa29d22064cda2b (patch) | |
tree | 0aaf364c3cb300b2d3e65d2ebd26d987b69e4dda | |
parent | 7ec15ec28532df021266befde408cf8df47b7dda (diff) | |
download | brdo-b922148c87233ebd4f2411a0efa29d22064cda2b.tar.gz brdo-b922148c87233ebd4f2411a0efa29d22064cda2b.tar.bz2 |
#975806 by amateescu, modesia: Fix incorrect page structure in hook_page_alter() docs.
-rw-r--r-- | modules/system/system.api.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 2ae4fd384..8b9163e6e 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1478,13 +1478,13 @@ function hook_menu_contextual_links_alter(&$links, $router_item, $root_path) { * * @code * // Node body. - * $page['content']['nodes'][$nid]['body'] + * $page['content']['system_main']['nodes'][$nid]['body'] * // Array of links attached to the node (add comments, read more). - * $page['content']['nodes'][$nid]['links'] + * $page['content']['system_main']['nodes'][$nid]['links'] * // The node object itself. - * $page['content']['nodes'][$nid]['#node'] + * $page['content']['system_main']['nodes'][$nid]['#node'] * // The results pager. - * $page['content']['pager'] + * $page['content']['system_main']['pager'] * @endcode * * Blocks may be referenced by their module/delta pair within a region: |