diff options
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/content_types.inc | 11 | ||||
-rw-r--r-- | modules/node/node.admin.inc | 6 | ||||
-rw-r--r-- | modules/node/node.module | 22 | ||||
-rw-r--r-- | modules/node/node.pages.inc | 8 |
4 files changed, 37 insertions, 10 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index 70112c473..8bca4653b 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -54,6 +54,17 @@ function node_overview_types() { return $build; } +/** + * Returns HTML for a node type description for the content type admin overview page. + * + * @param $variables + * An associative array containing: + * - name: The human-readable name of the content type. + * - type: An object containing the 'type' (machine name) and 'description' of + * the content type. + * + * @ingroup themeable + */ function theme_node_admin_overview($variables) { $name = $variables['name']; $type = $variables['type']; diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index 4dd932307..11a818a97 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -204,7 +204,11 @@ function node_filter_form() { } /** - * Theme node administration filter selector. + * Returns HTML for a node administration filter selector. + * + * @param $variables + * An associative array containing: + * - form: A render element representing the form. * * @ingroup themeable */ 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) { diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index a6d5c0a0b..d18e7a779 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -28,7 +28,11 @@ function node_add_page() { } /** - * Display the list of available node types for node creation. + * Returns HTML for a list of available node types for node creation. + * + * @param $variables + * An associative array containing: + * - content: An array of content types. * * @ingroup themeable */ @@ -340,7 +344,7 @@ function node_preview($node) { } /** - * Display a node preview for display during node creation and editing. + * Returns HTML for a node preview for display during node creation and editing. * * @param $variables * An associative array containing: |