Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 11.4.6 Update released for Drupal core (11.4.6)! Release: Drupal 10.6.16 Update released for Drupal core (10.6.16)! Release: Drupal 12.0.0-alpha1 First alpha version released for Drupal core (12.0.0-alpha1). Release: SDC Components 2.0.1 Minor update available for module sdc_components (2.0.1). Release: Website Feedback 1.2.1 Minor update available for module website_feedback (1.2.1). Release: Field Group Markup 1.0.5 Minor update available for module field_group_markup (1.0.5). Release: Website Feedback 1.2.0 Minor update available for module website_feedback (1.2.0). Release: User Registration Link Pop Up 1.2.5 Minor update available for module url_popup (1.2.5). Usage Milestone: Menu Condition Module menu_condition crossed 1,000 active installs. Module Revived: EzContent API - Enhanced De-coupled CMS Experience 2.3.9 Module ezcontent_api updated after 15 months of inactivity (2.3.9).

ECA Field Widget Actions

12 sites Security covered

Part of the ECA ecosystem · 47 projects

View on drupal.org

This module allows you to use ECA models to power custom action buttons displayed next to form fields, enabling you to define complex logic for those buttons without custom code. It's useful for features like content suggestions, AI-powered field filling, and on-demand data lookups.

ECA Field Widget Actions

Integrates ECA with the Field Widget Actions module, allowing you to build custom field widget action buttons powered by ECA models.

How it works

The Field Widget Actions module attaches action buttons to form fields -- for example a "Suggest" button next to a text field. This module bridges those buttons to ECA so you can define what happens when a button is clicked using an ECA model instead of custom code.

  1. Create an ECA model with the ECA Field Widget event.
  2. The module automatically registers a Field Widget Action plugin for that model. It appears in the list of available actions for any field widget.
  3. When a user clicks the action button on a form, the ECA event fires with the current entity, field name, and field index as context.
  4. Your ECA model evaluates conditions and executes actions -- for example calling an external API or processing the entity's existing field values.
  5. Use the Set field widget value action to return a list of suggestions to the field widget.

This is useful for content suggestions, AI-powered field filling, data lookups, or any scenario where a field value should be computed on demand.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2026
Latest release
1 week ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta2 Pre-release 11 Aug 27, 2026
1.0.0-beta1 Pre-release 11 Apr 10, 2026
1.0.x-dev Dev 11 Mar 7, 2026