More control on hook_gin_content_form_routes_alter()

Created on 5 May 2025, 5 days ago

Problem/Motivation

For my module, I added a couple forms for all content entity types but I don't want Gin to alter these forms. Currently I can't because after running all hook_gin_content_form_routes_alter() hooks, any form that base_form_id = node_form will be altered by Gin.

Steps to reproduce

Add a new form class to an entity type (like node) and check that form.

Proposed resolution

Let hooks to run last.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇵🇹Portugal marcofernandes

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