Skip to content
Snippets Groups Projects

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Recommended modules
  • Installation
  • Configuration
  • Troubleshooting
  • FAQ
  • Maintainers

INTRODUCTION

The Menu Manipulator menu provides site builders with automatic filtering of menu item. Developers also have a new helpful service to filter menu trees in Drupal.

REQUIREMENTS

This module requires the following modules:

  • Menu Link Content (in core: menu_link_content)

RECOMMENDED MODULES

INSTALLATION

CONFIGURATION

This module automatically filter menus. You must enable the custom functions under Admin > Configuration > User Interface > Menu Manipulator settings.

TROUBLESHOOTING

  • If menus are not filtered, check configuration in the admin setting page.

FAQ

Q: How does the magic happen?

A: Easy. There's a new service menu_manipulator.menu_tree_manipulators that is used to apply filters upon Menu Trees before rendering.

We have created a custom method to automatically filter by language.

You can find code example in menu_manipulator.module file.

MAINTAINERS

Current maintainers:

This project has not been sponsored - yet.

CREDITS

List icons created by Freepik - Flaticon