You are here

drop-down-logout.html.twig in Drop Down Login 8

Template for logout button.

Available variables

  • $logout_url: url for logout button/link
  • $logout_link_text: logout button/link text.

File

templates/drop-down-logout.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template for logout button.
  5. *
  6. * Available variables
  7. * - $logout_url: url for logout button/link
  8. * - $logout_link_text: logout button/link text.
  9. */
  10. #}
  11. <div class="drop-down-login-container" id="drop-down-login-wrapper">
  12. <a href={{ logout_url }} class="logout button">
  13. <span> {{ logout_link_text }}</span>
  14. </a>
  15. </div>