Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
We can track Drupal 8 / Drupal 9 integration ports of other contrib modules here:
- Flag
- #2424465: [Meta] Implement Rules 8.x Support
- Honeypot
- #3250754: Integration with event-based modules
- IP-based Determination of a Visitor's Country
- #2959759: Port Rules integration to D8
- Libraries Delay Load
- #3139144: Prioritize strategies with Rules
- Mime Mail
- #2928965: Port Rules actions "Send HTML e-mail" and "Send HTML mail to all users of a role" to D8
- Previewable email templates
- #2691355: Port rules integration
- Quiz
- https://git.drupalcode.org/project/quiz/commit/296305e
- Registration codes
- #3224820: Rules integration
- Scheduler (not Rules Scheduler)
- #2651348: Port Rules integration for Scheduler to Drupal 8
- Simplenews
- #3031011: Add rules support
- SMS Framework
- #2712599: [meta] Rules integration
- Ubercart
- #2644882: [meta] Port Rules integration to D8
- Feel free to add your project
- And link to your issue
Comments
Comment #1
jonathan1055 CreditAttribution: jonathan1055 as a volunteer commentedAdded Scheduler Module
Comment #2
dasjoComment #3
TR CreditAttribution: TR commentedAdding Ubercart and Mime Mail to the issue summary, and adding the rules integration tag, since this has been used in the past. That tag is not specific to D8 though.
Comment #4
TR CreditAttribution: TR commentedReformat issue summary.
Comment #5
TR CreditAttribution: TR commentedComment #6
djdevinComment #7
TR CreditAttribution: TR commentedAdded Simplenews
Comment #8
TR CreditAttribution: TR commentedAdd SMS Framework.
Comment #9
TR CreditAttribution: TR commentedComment #10
vdsh CreditAttribution: vdsh as a volunteer commentedComment #11
vdsh CreditAttribution: vdsh as a volunteer commentedQuestion about an integration I am trying to set-up with rules.
I am sending some data (in my case, an array of "strategies") via an event, and subscribers can modify the order of those strategies (or even theoretically add or remove some) so that strategy #1 is applied if we meet condition A, and strategy #2 is applied if we meet condition B.
But this is strategy selection is temporary, and should not be saved as it's done uniquely in the context of that specific request.
I don't want to integrate Rules as a rules component, as I don't want a hard depandancy on the rules module. So I am trying to set-up the right event and strategies related actions.
It doesn't seem to work out of the box with Rules, because the actions properly update the strategies context variable, but this is never circled back to the original event (I may have missed something though).
This is the event I am firing:
2 ideas I have so far to answer this:
- create a subscriber in my own module that will trigger a new event which will be the one associated with the rules event - and share data between the event and the actions through a $_GLOBALS variable, but that didn't seem the right option
- use the event context as it's created for that purpose, see #3141206: Updating event context after the rule's execution
Could you please let me know what is the best option? There may be a 3rd one I am missing.
Comment #12
TR CreditAttribution: TR commented@vdsh: This is not the place to discuss it. This is a meta issue to track contributed modules which are porting their Rules integration to D8.
This can be addressed in that other issue you opened #3141206: Updating event context after the rule's execution
Comment #13
TR CreditAttribution: TR commentedAdded Previewable email templates
Comment #14
TR CreditAttribution: TR commentedAdded the "Registration codes" module.
Comment #15
TR CreditAttribution: TR commentedAdded "Honeypot" and put the above list in alphabetical order.