Drupal is a registered trademark of Dries Buytaert

field_widget_actions

24 sites Security covered
View on drupal.org

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.

Activity

Total releases
3
First release
Oct 2025
Latest release
1 month ago
Release cadence
49 days
Stability
33% stable

Release Timeline

Releases

Version Type Release date
1.3.0 Stable Jan 23, 2026
1.0.0-alpha1 Pre-release Oct 21, 2025
1.0.x-dev Dev Oct 17, 2025