Skip to content
Snippets Groups Projects

Issue #3249692: Support group_content_menu module

@@ -108,6 +108,10 @@ function menu_admin_per_menu_filter_parent_options(AccountInterface $account, ar
foreach ($options as $key => $option) {
[$menu] = explode(':', $key, 2);
// Add support for group_menu_content module.
if (str_starts_with($menu, 'group_menu_link_content-')) {
continue;
}
if (!in_array($menu, $allowed_menus)) {
unset($options[$key]);
}
Loading