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.
1 theme call to drop-down-logout.html.twig
- DropDownLoginBlock::build in src/
Plugin/ Block/ DropdownLoginBlock.php - Builds and returns the renderable array for this block plugin.
File
templates/drop-down-logout.html.twigView source
- {#
- /**
- * @file
- * Template for logout button.
- *
- * Available variables
- * - $logout_url: url for logout button/link
- * - $logout_link_text: logout button/link text.
- */
- #}
-
- <div class="drop-down-login-container" id="drop-down-login-wrapper">
- <a href={{ logout_url }} class="logout button">
- <span> {{ logout_link_text }}</span>
- </a>
- </div>