summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/theme.inc6
-rw-r--r--modules/system/theme.api.php8
2 files changed, 14 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 0b14b9f83..61bd8a8ca 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -2038,6 +2038,9 @@ function _theme_table_cell($cell, $header = FALSE) {
* Adds a default set of helper variables for variable processors and templates.
* This comes in before any other preprocess function which makes it possible to
* be used in default theme implementations (non-overridden theme functions).
+ *
+ * For more detailed information, see theme().
+ *
*/
function template_preprocess(&$variables, $hook) {
global $user;
@@ -2115,6 +2118,9 @@ function _template_preprocess_default_variables() {
/**
* A default process function used to alter variables as late as possible.
+ *
+ * For more detailed information, see theme().
+ *
*/
function template_process(&$variables, $hook) {
// Flatten out classes.
diff --git a/modules/system/theme.api.php b/modules/system/theme.api.php
index 2284a7c76..a585b73db 100644
--- a/modules/system/theme.api.php
+++ b/modules/system/theme.api.php
@@ -100,6 +100,8 @@ function hook_form_system_theme_settings_alter(&$form, &$form_state) {
* It is called for all invocations of theme(), to allow modules to add to
* or override variables for all theme hooks.
*
+ * For more detailed information, see theme().
+ *
* @param $variables
* The variables array (modify in place).
* @param $hook
@@ -146,6 +148,8 @@ function hook_preprocess(&$variables, $hook) {
* hook. It should only be used if a module needs to override or add to the
* theme preprocessing for a theme hook it didn't define.
*
+ * For more detailed information, see theme().
+ *
* @param $variables
* The variables array (modify in place).
*/
@@ -162,6 +166,8 @@ function hook_preprocess_HOOK(&$variables) {
* It is called for all invocations of theme(), to allow modules to add to
* or override variables for all theme hooks.
*
+ * For more detailed information, see theme().
+ *
* @param $variables
* The variables array (modify in place).
* @param $hook
@@ -188,6 +194,8 @@ function hook_process(&$variables, $hook) {
* hook. It should only be used if a module needs to override or add to the
* theme processing for a theme hook it didn't define.
*
+ * For more detailed information, see theme().
+ *
* @param $variables
* The variables array (modify in place).
*/