summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-11-13 16:34:47 (GMT)
committer Jennifer Hodgdon2012-11-13 16:34:47 (GMT)
commit07bf1df95071d1a64e0f4854610749fffbc6503e (patch)
treed01cea6f326f96b68b93fd1aed13880341dc077c
parent2ef1c339d1118acb102497e926b83b9432b898cc (diff)
Issue #1664070 by marcin.wosinek, tim.plunkett, mjonesdinero: Add docs for node_add_page() function
-rw-r--r--modules/node/node.pages.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc
index f5bbdfc..5b20004 100644
--- a/modules/node/node.pages.inc
+++ b/modules/node/node.pages.inc
@@ -14,6 +14,9 @@ function node_page_edit($node) {
return drupal_get_form($node->type .'_node_form', $node);
}
+/**
+ * Page callback: Displays add content links for available content types.
+ */
function node_add_page() {
$item = menu_get_item();
$content = system_admin_menu_block($item);