Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Added some comments at the PR. We'll have to do some more things to get it ported though - maybe as a start we should add @todo for all not-yet ported action callbacks from d7, i.e. in particular info alter and options stuff.
That implemenation is not complete as it does not take care of properly passing through metadata depending on the given context. -> it misses porting of the info_alter() logic.
Comments
Comment #1
dasjoComment #2
dasjowork on this has started, but needs work
https://github.com/fago/rules/pull/95
Comment #3
dermarioI worked on it and created a new pull request: https://github.com/fago/rules/pull/121
Comment #4
fagoAdded some comments at the PR. We'll have to do some more things to get it ported though - maybe as a start we should add @todo for all not-yet ported action callbacks from d7, i.e. in particular info alter and options stuff.
Comment #5
dermariohttps://github.com/fago/rules/pull/121 is already merged. Can we close that issue or are there still open tasks here?
Comment #6
fubhy CreditAttribution: fubhy commentedSorry, forgot to close this indeed.
Comment #8
fagoThat implemenation is not complete as it does not take care of properly passing through metadata depending on the given context. -> it misses porting of the info_alter() logic.
Comment #9
tassilogroeper CreditAttribution: tassilogroeper commentedworking on it today at Milano Drupal Sprint.
Comment #10
tassilogroeper CreditAttribution: tassilogroeper commentedcan't be done right now
Comment #11
fagoWe need #2456829: Context definition needs to be updated before execution solved for being able to update override getContextDefinitions() accordingly.
Comment #12
fago#2456829: Context definition needs to be updated before execution is done - see EntityFetchByField as example.
Comment #13
dasjoI guess this is unblocked again?
Comment #14
dasjoComment #15
TR CreditAttribution: TR commentedI think this was finished. Am I missing something? Is there still something left to do here?
#2456829: Context definition needs to be updated before execution added the ability to refine context definitions.
#2658960: Create the loop action expression plugin update the VariableAdd action to use the refineContextDefinitions() method.
We have tests for this action.
So what is missing, if anything?
Comment #16
TR CreditAttribution: TR commentedComment #17
TR CreditAttribution: TR commented