profile--profile--autocomplete_item.html.twig in Open Social 8
Same filename and directory in other branches
- 8.9 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.2 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.3 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.4 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.5 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.6 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.7 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 8.8 modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 10.3.x modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 10.0.x modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 10.1.x modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
- 10.2.x modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twig
Default theme implementation for profiles.
Available variables:
- content: Items for the content of the profile. Use 'content' to print them all, or print a subset such as 'content.title'. Use the following code to exclude the printing of a given child element:
{{ content|without('title') }}
- attributes: HTML attributes for the wrapper.
- profile: The profile object.
- url: The profile URL.
File
modules/social_features/social_mentions/templates/profile--profile--autocomplete_item.html.twigView source
- {#
- /**
- * @file
- *
- * Default theme implementation for profiles.
- *
- * Available variables:
- * - content: Items for the content of the profile.
- * Use 'content' to print them all, or print a subset such as
- * 'content.title'. Use the following code to exclude the
- * printing of a given child element:
- * @code
- * {{ content|without('title') }}
- * @endcode
- * - attributes: HTML attributes for the wrapper.
- * - profile: The profile object.
- * - url: The profile URL.
- *
- * @ingroup themeable
- */
- #}
-
- <span class="avatar mention__avatar"> {{ content.field_profile_image }} </span>
- <span class="mention__name"> {{ profile_name }} </span>