bibcite-citation.html.twig in Bibliography & Citation 2.0.x
Same filename and directory in other branches
bibcite-citation.html.twig Default theme implementation to present bibliographic data as citation.
Available variables:
- content: A list of content items. Use 'content' to print all content, or
- attributes: HTML attributes for the container element.
See also
template_preprocess_bibcite_citation()
2 theme calls to bibcite-citation.html.twig
- Citation::render in modules/
bibcite_entity/ src/ Plugin/ views/ field/ Citation.php - Renders the field.
- ReferenceViewBuilder::buildComponents in modules/
bibcite_entity/ src/ ReferenceViewBuilder.php - Builds the component fields and properties of a set of entities.
File
templates/bibcite-citation.html.twigView source
- {#
- /**
- * @file bibcite-citation.html.twig
- * Default theme implementation to present bibliographic data as citation.
- *
- * 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_bibcite_citation()
- *
- * @ingroup themeable
- */
- #}
- <div{{ attributes.addClass('bibcite-citation') }}>
- {% if content %}
- {{ content }}
- {% endif %}
- </div>