2

On a website I'm working on, logged in users can post their feedback about some functionalities which the website provides. While only logged in users should have access to fill the form, invisibility of the menu item "Share your experience" caused to not many users navigate to this page and fill the form.

So what I need is to have the menu item being visible and when anonymous user navigated to this link Drupal will show them the login form automatically (which would be a different issue).

There was an Always Visible module for Drupal 7. Now I want to know what technique should I use to make the menu item always visible in Drupal 8?

2

Ah look, Always Visible already had an issue regarding D8: Drupal 8 port of Always Visible. Some nice person created a Gist you can easily build a custom module from to always display all menu items.

I've done that for you and put it on GitLab: Always Visible (D8). Simply download the Zip file, unpack it, rename the folder to always_visible and put it into your /modules/custom folder, enable the module, done.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.