From 03d4cbdbade1cbf532e3e7fe0e60ffb56ea3af03 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Aug 2010 19:45:37 +0000 Subject: - Patch #875162 by ctmattice1: documentation improvement for hook_theme_registry_alter(). --- modules/system/system.api.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'modules') 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 * -- cgit v1.2.3