Summary
Add a "Validate" quick action to the node entity operations dropdown in content administration views. This provides content editors with one-click access to run validation workflows on individual content items directly from the content listing page.
Business Value
- Streamlines content review workflow by eliminating navigation steps
- Enables rapid content quality checks from familiar admin interfaces
- Integrates AI-powered validation into existing content management workflows
- Provides discoverable entry point for FlowDrop functionality
Features Implemented
- Validate Operation: New dropdown action on node listings
- Permission-Based Visibility: Only shown to users with appropriate permissions
- Direct Workflow Launch: Opens fullscreen playground with node context pre-loaded
- Workflow Integration: Configured to use content_validation_fixer workflow
Technical Implementation
- Implementation via
hook_entity_operation()for node entities - Permission check:
create flowdrop_playground_session - URL generation using
flowdrop_node_session.playground.entityroute - Query parameters automatically populated with node's entity_type, entity_id, and bundle
User Experience
- Navigate to Content administration (/admin/content)
- Find content item to validate
- Click dropdown arrow in Operations column
- Select "Validate" option
- Fullscreen playground opens with node context ready
Comments
Comment #2
d34dman commented