You are here

bibcite-contributor.html.twig in Bibliography & Citation 8

Same filename and directory in other branches
  1. 2.0.x modules/bibcite_entity/templates/bibcite-contributor.html.twig

bibcite_contributor.html.twig Default theme implementation to present Contributor data.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.
  • bibcite_contributor: The contributor object.
  • view_mode: View mode.

File

modules/bibcite_entity/templates/bibcite-contributor.html.twig
View source
  1. {#
  2. /**
  3. * @file bibcite_contributor.html.twig
  4. * Default theme implementation to present Contributor data.
  5. *
  6. * Available variables:
  7. * - content: A list of content items. Use 'content' to print all content, or
  8. * - attributes: HTML attributes for the container element.
  9. * - bibcite_contributor: The contributor object.
  10. * - view_mode: View mode.
  11. *
  12. * @see template_preprocess_bibcite_contributor()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. <div{{ attributes }}>
  18. {% if content %}
  19. {{- content -}}
  20. {% endif %}
  21. </div>