Module Description
The Views Menu Children Filter module adds a contextual filter to Views for showing child nodes of a specified parent node in the menu system. It also adds a sorting option based on the menu link's weight.

Related core issues
This module helps to work around missing features in core:


* #2804335: Provide menu item integration for views
* #2777749: Add menu_link_content support into views
* #2315773: Create a menu link field type/widget/formatter

Please help to fix them, so one day these features will be available in core!

Required Modules
The Drupal Core "Views" module is needed.

Installation

* Run composer require drupal/views_menu_children_filter
* Run drush en views_menu_children_filter

Configuration
When you add the "Menu Children" contextual filter to your custom view, you can configure the menus you wish to search for inside the filter settings.

Limitations
Currently, this module only works for node entities. Also, the menu links need to be created inside the node, so they have the "entity:" uri prefix. "internal:" is NOT currently supported.

Version Information
The 8.x-1.x branch is for bug fixes only, with the aim for a stabled Drupal 8 release.

The 8.x-2.x branch is abandoned and should not be used. Users can safely upgrade to 8.x-1.0-rc1 or to 3.0.x-dev.

The 3.0.x-dev branch is for all new features and development, with full Drupal 9 support.

Alternative modules
* https://www.drupal.org/project/menu_link (aka #2315773: Create a menu link field type/widget/formatter) which seems most robust
* https://www.drupal.org/project/menu_entity_index (for more advanced cases)
* https://www.drupal.org/project/views_menu_relationship (most lightweight, only for nodes)

Project Usage
4573
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Views Menu Children Filter module aims to solve the issue of showing child nodes of a specified parent node in the menu system within Views, as well as adding a sorting option based on the menu link's weight.
Data Name
views_menu_children_filter

OPENAI CHATBOT

OPENAI CHATBOT

14:37:36
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.