activity.html.twig in Open Social 8.9
Same filename in this branch
Same filename and directory in other branches
- 8 modules/custom/activity_creator/templates/activity.html.twig
- 8.2 modules/custom/activity_creator/templates/activity.html.twig
- 8.3 modules/custom/activity_creator/templates/activity.html.twig
- 8.4 modules/custom/activity_creator/templates/activity.html.twig
- 8.5 modules/custom/activity_creator/templates/activity.html.twig
- 8.6 modules/custom/activity_creator/templates/activity.html.twig
- 8.7 modules/custom/activity_creator/templates/activity.html.twig
- 8.8 modules/custom/activity_creator/templates/activity.html.twig
- 10.3.x modules/custom/activity_creator/templates/activity.html.twig
- 10.0.x modules/custom/activity_creator/templates/activity.html.twig
- 10.1.x modules/custom/activity_creator/templates/activity.html.twig
- 10.2.x modules/custom/activity_creator/templates/activity.html.twig
activity.html.twig Default theme implementation to present Activity data.
This template is used when viewing Activity pages.
Available variables:
- content: A list of content items. Use 'content' to print all content, or
- attributes: HTML attributes for the container element.
See also
File
modules/custom/activity_creator/templates/activity.html.twigView source
- {#
- /**
- * @file activity.html.twig
- * Default theme implementation to present Activity data.
- *
- * This template is used when viewing Activity pages.
- *
- *
- * Available variables:
- * - content: A list of content items. Use 'content' to print all content, or
- * - attributes: HTML attributes for the container element.
- *
- * @see template_preprocess_activity()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('activity') }}>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>