From 3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2010 15:23:03 +0000 Subject: - Patch #716496 by JohnAlbin: documentation updates for theme functions. --- modules/node/node.module | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index c5b069d99..d9c137996 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1695,7 +1695,11 @@ function node_user_delete($account) { } /** - * Theme the content ranking part of the search settings admin page. + * Returns HTML for the content ranking part of the search settings admin page. + * + * @param $variables + * An associative array containing: + * - form: A render element representing the form. * * @ingroup themeable */ @@ -2129,10 +2133,12 @@ function node_get_recent($number = 10) { } /** - * Returns a formatted list of recent nodes. + * Returns HTML for a list of recent content. + * + * @param $variables + * An associative array containing: + * - nodes: An array of recent node objects. * - * @return - * The recent content table HTML. * @ingroup themeable */ function theme_node_recent_block($variables) { @@ -2168,10 +2174,12 @@ function theme_node_recent_block($variables) { } /** - * Returns a formatted recent node to be displayed in the recent content block. + * Returns HTML for a recent node to be displayed in the recent content block. + * + * @param $variables + * An associative array containing: + * - node: A node object. * - * @return - * The recent content node's HTML. * @ingroup themeable */ function theme_node_recent_content($variables) { -- cgit v1.2.3