Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
We manage permissions using features and revert the feature during a hook_update_N() function when necessary. We recently started using actions_permissions to manage permissions for the actions available to VBO. When reverting the feature during the hook_update_N(), the include file is not loaded and the feature revert displays warnings that no module defines permission for the two actions provided by this module.
Since hook_init() isn't run during updates, I moved nodequeue_action_info() into the .module file so the hook was run when actions_list() calls module_invoke_all('action_info')
.
Comment | File | Size | Author |
---|---|---|---|
#2 | nodequeue-actions-not-available-2878868-1.patch | 1.78 KB | pixlkat |
Comments
Comment #2
pixlkat CreditAttribution: pixlkat commentedComment #3
orbmantell CreditAttribution: orbmantell as a volunteer commentedI have tested this patch, and have found it causes no adverse impact. The change accomplishes what is expected, and as there is no 8.x version of this module there is no change needed there. I am marking this RTBC.
Comment #5
jenlamptonMerged into 7.x-2.x.