Obsoletion
Drupal 11.2+ now supports OOP hooks. You should move your FormAlter plugins into the /src/Hook/ folder and convert them to #[Hook()] attributes:
- https://www.drupal.org/blog/drupal-11-2-0
- https://www.hashbangcode.com/article/drupal-11-object-oriented-hooks-and-hook-service-classes
There are no plans to upgrade this module to Drupal 12 as a result, as traditional hooks are deprecated.
Overview
This module provides three annotation Plugins to be used to alter Forms, Paragraphs forms and Inline Entity Forms.
It allows you to use Dependency Injection of services and to define a weight for your plugin which will affect the alteration queue.
Multiple plugins can alter the same form.
It also decorates the Forms data collector used by the WebProfiler module by adding a list of all the plugins affecting each form.

Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Obsolete
Use of this project is deprecated.- Project categories: Content editing experience, Developer tools
- Ecosystem: Drupal core
1,349 sites report using this module
- Created by bmeme on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Drupal 11 compatibility + Drupal 11.2+ deprecation warning
Development version: 8.x-1.x-dev updated 1 Oct 2025 at 09:59 UTC



