Skip to content

User Menu

user_menu module is used to display a login modal or a dropdown with available user operations. It makes a use of login-modal-opener webcomponent for non authorized and of h-dropdown webcomponent for authorized users.

Configuration parameters

none

Module source code

{% from "@macros/user_menu.twig" import user_menu %}

{{ user_menu() }}

ObjectApi methods reference

Macros reference

Webcomponents reference

Used styles

Module configuration schema

[
    {
        "state": "unfolded",
        "label": "General settings",
        "elements": [
            {
                "type": "infobox",
                "name": "infobox",
                "options": {
                    "type": "blank",
                    "message": "#### Related settings in the admin panel%s- changing phrases in [translations](%s)",
                    "placeholderValues": ["\n", "\/admin\/configLanguages\/list"]
                }
            }
        ]
    }
]