Installation¶
Requirements¶
- Drupal 11.2 or later, PHP 8.2 or later.
- Field Widget Actions
- FlowDrop, with these submodules
(they are enabled as dependencies):
- FlowDrop Node Category
- FlowDrop Node Type
- FlowDrop Orchestration
- FlowDrop Runtime
- FlowDrop Workflow
- The CommonMark 2.x library from The PHP League, installed by Composer. The Field Suggestion Output node uses it to convert Markdown.
To call an AI model from a workflow you also need AI nodes, for example from the AI module with a configured provider and a FlowDrop integration that exposes chat nodes. The module itself does not depend on any AI module.
Install¶
composer require drupal/flowdrop_field_widget_actions
drush en flowdrop_field_widget_actions
Installing the module creates:
- The Field Widget Actions node category in the FlowDrop editor.
- The Entity Field Extractor and Field Suggestion Output node types.
- The Use FlowDrop field widget actions permission.
These config entities declare an enforced dependency on the module, so uninstalling it removes them.
Updating¶
Run drush update:db after updating the module. The update hooks:
10001grants Use FlowDrop field widget actions to the authenticated role, so existing sites keep the behavior they had before the permission existed. Remove it from that role if only some editors should run workflows.10002adds the enforced module dependency to the two node types on sites that installed them earlier.10003adds the Output Format setting to the Field Suggestion Output node type.