Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Field Widget Actions

468 sites Security covered Drupal 10–11
View on drupal.org

Field Widget Actions is a framework that allows you to add actionable buttons directly to field widgets on entity forms. Site builders can configure these actions in the "Manage Form Display" interface, and developers can create custom actions using a plugin system. This enables various functionalities, such as triggering workflows or AI content generation, for individual or multi-value fields.

Field Widget Actions is a developer-friendly framework that allows site builders and developers to attach actionable buttons directly to field widgets on entity edit forms. Originally developed as part of the AI module, it has grown into a standalone architectural toolkit that works for any business logic — from AI-powered content generation to triggering ECA workflows.

Main features / functionalities:

  • Button Actions on Field Widgets:
    Attach AJAX-enabled action buttons to any field widget on entity forms (Nodes, Media, Users, etc.) without modifying core form code.
  • Plugin-Based Architecture:
    Developers can create custom actions using a simple plugin system (@FieldWidgetAction annotation). The module handles all UI integration, AJAX handling, and settings storage automatically.
  • Manage Form Display Integration:
    Configure which actions appear on which fields directly from the standard "Manage Form Display" interface — no extra admin screens needed.
  • Multi-value Field Support:
    Actions can target individual items in a multi-value field or the entire field at once, giving full flexibility for complex data structures.
  • Suggestions & Modal Support:
    Actions can either directly populate a field or present the editor with a list of suggestions in a modal dialog, letting the user choose the best result before applying it.

Integration examples:

  • AI Module: Powers "Fill with AI" and "Generate Alt Text" buttons on text and image fields.
  • ECA Module: Allows site builders to trigger complex backend workflows directly from a field widget without writing custom code.
  • Custom Actions: Any PHP developer can implement the FieldWidgetActionInterface to attach their own business logic to any field on any entity form.

Requirements / dependencies:

  • Drupal core (no additional module dependencies required for the base framework).
  • Optional: AI module for AI-powered field actions.
  • Optional: ECA module for event-condition-action workflow triggers.

Supporting organization


1xINTERNET is a full-service digital agency focusing on robust and innovative digital solutions based on Drupal. As a Diamond Certified Drupal Partner and active community contributor, 1xINTERNET supports clients throughout their digital transformation journey.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

2 tracked projects depend on this one

Activity

Tracked releases
6
Tracked since
Oct 2025
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.4.x-dev Dev 10–11 Jul 23, 2026
1.4.1 Stable 10–11 Jul 21, 2026
1.4.0 Stable 10–11 Jul 15, 2026
1.3.0 Stable 10–11 Jan 23, 2026
1.0.0-alpha1 Pre-release 10–11 Oct 21, 2025
1.0.x-dev Dev 10–11 Oct 17, 2025