API page: http://api.drupal.org/api/drupal/modules--node--node.module/function/nod...

Describe the problem you have found:

The text
"Return value

A $page element suitable for use by drupal_page_render()."

should be replaced by
"Return value

A $page element suitable for use by drupal_render()."

The function drupal_page_render does not exist

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

Title: Documentation problem with node_show » node_show return doc links to nonexistent function
Version: 7.x-dev » 8.x-dev
Issue tags: +Novice, +Needs backport to D7

Good catch, thanks for reporting! Good Novice project too.

jeckman’s picture

Here's my first attempt - adding a patch. Let's see if I've done it correctly.

jeckman’s picture

Status: Active » Needs review
FileSize
458 bytes

Guess i need to set it to needs review to get testing bot, yes?

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine, thanks! Congratulations on your first patch. :)

For future reference, you don't need to upload the patch again when setting to "needs review". The test bot will look for the latest uploaded patch automatically.

jwlogemann’s picture

I don't know if this is a duplicate of what jeckman did, but I've created a patch for 7.x. Can someone double check what I did here (first patch as well)

jwlogemann’s picture

Status: Reviewed & tested by the community » Needs review

Status: Needs review » Needs work

The last submitted patch, drupal-7.x-1402620-node-show-return-api-doc.patch, failed testing.

jwlogemann’s picture

Version: 8.x-dev » 7.x-dev
Status: Needs work » Needs review
jwlogemann’s picture

jhodgdon’s picture

Version: 7.x-dev » 8.x-dev
Status: Needs review » Reviewed & tested by the community

This issue needs to stay as 8.x until it is committed to 8.x. The patch is on #3.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x and 7.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.