summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-08 19:45:37 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-08 19:45:37 +0000
commit03d4cbdbade1cbf532e3e7fe0e60ffb56ea3af03 (patch)
tree9fe5c3bccb236341b62a0c089a1463ec0628d610 /modules
parente3a52979f60fe66b66e7eea9e4a8213ded7ff834 (diff)
downloadbrdo-03d4cbdbade1cbf532e3e7fe0e60ffb56ea3af03.tar.gz
brdo-03d4cbdbade1cbf532e3e7fe0e60ffb56ea3af03.tar.bz2
- Patch #875162 by ctmattice1: documentation improvement for hook_theme_registry_alter().
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.api.php25
1 files changed, 12 insertions, 13 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index d6d137d01..cf69c46a1 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1746,19 +1746,18 @@ function hook_theme($existing, $type, $theme, $path) {
*
* For example:
* @code
- * $theme_registry['user_profile'] = array(
- * 'variables' => array(
- * 'account' => NULL,
- * ),
- * 'template' => 'modules/user/user-profile',
- * 'file' => 'modules/user/user.pages.inc',
- * 'type' => 'module',
- * 'theme path' => 'modules/user',
- * 'preprocess functions' => array(
- * 0 => 'template_preprocess',
- * 1 => 'template_preprocess_user_profile',
- * ),
- * )
+ * $theme_registry['user_profile'] = array(
+ * 'variables' => array(
+ * 'account' => NULL,
+ * ),
+ * 'template' => 'modules/user/user-profile',
+ * 'file' => 'modules/user/user.pages.inc',
+ * 'type' => 'module',
+ * 'theme path' => 'modules/user',
+ * 'preprocess functions' => array(
+ * 0 => 'template_preprocess',
+ * 1 => 'template_preprocess_user_profile',
+ * ),
* );
* @endcode
*