NodeForm has changed namespace

Created on 1 July 2025, 11 days ago

Problem/Motivation

When installing from Drupal 11.2.2 , i have issue :

Error: Class "Drupal\node\NodeForm" not found in include() (line 10 of /var/www/html/web/modules/contrib/mercury_editor/src/Entity/MercuryEditorNodeForm.php

Looking at 📌 Move node forms to proper namespace (Drupal\node\Form) Needs work , the NodeForm has changed namespace.

Proposed resolution

Replace namespace Drupal\node\NodeForm by the new one : Drupal\node\Form\NodeForm

This requires to make specific version for Drupal >= 11.2 , version where the change appears

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇫🇷France goz

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