diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.api.php | 25 |
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 * |