2013-05-24 16:55:47 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Default theme implementation to present all user data.
|
|
|
|
*
|
|
|
|
* This template is used when viewing a registered user's page,
|
|
|
|
* e.g., example.com/user/123. 123 being the user's ID.
|
|
|
|
*
|
|
|
|
* Available variables:
|
|
|
|
* - content: A list of content items. Use 'content' to print all content, or
|
Issue #2428861 by tbradbury, Nitesh Sethia, neetu morwani, deepakaryan1988, Sagar Ramgade, yogen.prasad, Daniel_Rose, Cottser, jhodgdon, Sutharsan, leeotzu: user.html.twig documentation refers to a nonexistent 'account' variable
2015-07-07 14:11:22 +00:00
|
|
|
* print a subset such as 'content.field_example'. Fields attached to a user
|
|
|
|
* such as 'user_picture' are available as 'content.user_picture'.
|
2013-05-24 16:55:47 +00:00
|
|
|
* - attributes: HTML attributes for the container element.
|
2015-06-08 23:15:09 +00:00
|
|
|
* - user: A Drupal User entity.
|
2013-05-24 16:55:47 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess_user()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
|
|
|
*/
|
|
|
|
#}
|
2014-10-27 10:58:11 +00:00
|
|
|
<article{{ attributes }}>
|
2013-05-24 16:55:47 +00:00
|
|
|
{% if content %}
|
|
|
|
{{- content -}}
|
|
|
|
{% endif %}
|
|
|
|
</article>
|