Skip to content
Snippets Groups Projects
Commit 03b443e8 authored by catch's avatar catch
Browse files

Issue #1123092 by michaellenahan, varunarora: Fixed user-profile.tpl.php doc...

Issue #1123092 by michaellenahan, varunarora: Fixed user-profile.tpl.php doc has confusing/misleading first paragraph.
parent 52b30bd8
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
* e.g., example.com/user/123. 123 being the users ID. * e.g., example.com/user/123. 123 being the users ID.
* *
* Use render($user_profile) to print all profile items, or print a subset * Use render($user_profile) to print all profile items, or print a subset
* such as render($content['field_example']). Always call render($user_profile) * such as render($user_profile['user_picture']). Always call
* at the end in order to print all remaining items. If the item is a category, * render($user_profile) at the end in order to print all remaining items. If
* it will contain all its profile items. By default, $user_profile['summary'] * the item is a category, it will contain all its profile items. By default,
* is provided which contains data on the user's history. Other data can be * $user_profile['summary'] is provided, which contains data on the user's
* included by modules. $user_profile['user_picture'] is available * history. Other data can be included by modules. $user_profile['user_picture']
* for showing the account picture. * is available for showing the account picture.
* *
* Available variables: * Available variables:
* - $user_profile: An array of profile items. Use render() to print them. * - $user_profile: An array of profile items. Use render() to print them.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment