heartbeat_stream.html.twig in Heartbeat 8
heartbeat_stream.html.twig Default theme implementation to present Heartbeat stream data.
This template is used when viewing Heartbeat stream 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
9 theme calls to heartbeat_stream.html.twig
- HeartbeatBlock::build in src/
Plugin/ Block/ HeartbeatBlock.php - HeartbeatHashBlock::build in src/
Plugin/ Block/ HeartbeatHashBlock.php - HeartbeatMoreBlock::build in src/
Plugin/ Block/ HeartbeatMoreBlock.php - HeartbeatStreamController::createRoute in src/
Controller/ HeartbeatStreamController.php - Getroutes.
- HeartbeatUsernameBlock::build in src/
Plugin/ Block/ HeartbeatUsernameBlock.php
File
templates/heartbeat_stream.html.twigView source
- {#
- /**
- * @file heartbeat_stream.html.twig
- * Default theme implementation to present Heartbeat stream data.
- *
- * This template is used when viewing Heartbeat stream 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_heartbeat_stream()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('heartbeat_stream') }}>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>