Compability with other modules modifying the node form

Created on 30 June 2025, 3 months ago

Problem/Motivation

This module is not compatible with Menu tree module. Menu tree also alters the node form and changes that are made by that module are lost when form_node_form_alter implementation is removed in Drupal\menu_ui_async_widget\Hook\Hooks.

Proposed resolution

Invoke form_node_form_alter hooks again in Drupal\menu_ui_async_widget\Hook\Hooks::formNodeFormAlter() or will that cause infinite loop?

Or check specifically if Menu tree module is installed and call the hook in Drupal\menu_tree\Hook\Hooks::nodeFormAlter().

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇸🇪Sweden peter törnstrand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024