On a Drupal 8 site, I am using the fontawesome menu icons module. However, since I can only define one icon and the login/logout link is a single menu item, how can I change the URL options array to reflect "fas fa-sign-out-alt" as the fa_icon when the user is logged-in within hook_preprocess_menu__account()?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.