Commit b922148c authored by webchick's avatar webchick

#975806 by amateescu, modesia: Fix incorrect page structure in hook_page_alter() docs.

parent 7ec15ec2
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment