Create 'custom_flex' & 'custom_stacked' Field Widget Action plugin for AI automators

Created on 10 July 2025, 1 day ago

Problem/Motivation

The Field Widget Action module is merged into 1.2.x, however we need to start adding Automators plugins to it. The parent issue #3534445: Parent Issue: Create Field Widget Actions plugins for Automators. is a parent issue for all the implementations of the Automators plugins. Read more in the parent issue.

This is the implementation of the Field Widget Action(s) [field_widget_actions] for the AI Automator Type(s) [ai_automator_types].

Proposed resolution

  • In the AI Automators module, create a new Field Widget Action plugin under src/Plugin/FieldWidgetAction.
  • Call it [fieldWidgetActionsAiAutomatorType].php
  • Use the FieldWidgetAction attribute and connect it to the correct widget_types and field_types
  • At minimum, set up the first part of the aiAutomatorsAjax, where it picks the correct components, and if it should clearEntity and the formElementProperty. clearEntity, means that it removes the enities, to recreate them for the Automators, this should not be set if its a subfield.
  • Manually test that its working and record a video of it working and upload to the feature (could be done by a reviewer).
  • (optional, can be removed) Write at least a kernel test of the ajax function
  • (optional, can be removed) Even better Function Javascript tests, but that is optional.
πŸ“Œ Task
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024