You are here

private-message-thread.html.twig in Private Message 8

Same filename and directory in other branches
  1. 8.2 templates/private-message-thread.html.twig

Default theme implementation to display a private message thread.

Available variables:

  • private_message_thread: The private message thread entity with limited access to object properties and methods.
  • content: All private message thread items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given child element.
  • last_update: Themed display of the last update time for the thread
  • url: Direct URL of the current private message thread.
  • view_mode: View mode; for example, "teaser" or "full".
  • logged_in: Flag for authenticated user status. Will be true when the current user is a logged-in member.

File

templates/private-message-thread.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a private message thread.
  5. *
  6. * Available variables:
  7. * - private_message_thread: The private message thread entity
  8. * with limited access to object properties and methods.
  9. * - content: All private message thread items. Use {{ content }} to print them all,
  10. * or print a subset such as {{ content.field_example }}. Use
  11. * {{ content|without('field_example') }} to temporarily suppress the printing
  12. * of a given child element.
  13. * - last_update: Themed display of the last update time for the thread
  14. * - url: Direct URL of the current private message thread.
  15. * - view_mode: View mode; for example, "teaser" or "full".
  16. * - logged_in: Flag for authenticated user status. Will be true when the
  17. * current user is a logged-in member.
  18. *
  19. * @see template_preprocess_private_message()
  20. *
  21. * @ingroup themeable
  22. */
  23. #}
  24. {{ content }}