Closed (outdated)
Project:
Drupal core
Version:
8.7.x-dev
Component:
action.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2012 at 17:04 UTC
Updated:
25 Dec 2018 at 01:41 UTC
Jump to comment: Most recent
Comments
Comment #1
sunComment #2
ParisLiakos commentedAfter taking a closer look, seems we have the $entity_type from hook_action_info
typeparameter.So instead of doing stuff like that:
actions_doshould definitely do that before calling the action callback.I still think entity parameter should be removed
Comment #9
andypostRules made own implementation of that context argument, Please file new issue if there's reason to do that still
Comment #10
andypost