Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
7.x-3.x-dev
Component:
Core
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 22:07 UTC
Updated:
6 Feb 2012 at 22:10 UTC
Extracted from #1057158: Provide an action for modifying entity values.
Some actions (like that one) need to know which entity type they are operating on.
The entity type should be passed to the action form as part of $context, and to the action config form (embed in the VBO settings) as the second param.
I was thinking of adding $context to the action config form callback, but seems pointless since I can't think of anything else we can pass at that stage.
Comments
Comment #1
bojanz commentedCommitted and pushed:
http://drupalcode.org/project/views_bulk_operations.git/commitdiff/8837329