profile-items.html.twig in Profile 2 8
Default theme implementation for a user profile entity.
@todo Document the available variables.
1 theme call to profile-items.html.twig
- profile_user_view in ./
profile.module - Implements hook_user_view().
File
templates/profile-items.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a user profile entity.
- *
- * @todo Document the available variables.
- */
- #}
-
- {% if items %}
- <h3 class="profile-title">{{ title }}</h3>
- {% for i, item in items %}
- <div class="profile-item">
- <span class="profile-item-action-links">
- {% if edit_links[i] is defined %}[ {{ edit_links[i] }} ] {% endif %}{% if delete_links[i] is defined %} [ {{ delete_links[i] }} ]{% endif %}
- </span>
- {{ item }}
- </div>
- {% endfor %}
- {% endif %}