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.
We had a need to store the recipient phone number in the message options instead of pulling it from a user entity. The attached patch updates the SMS Queue Processor to allow for this technique to be used.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3203755-smsframework-2.x-dev-recipient-options.patch | 805 bytes | attheshow |
Comments
Comment #2
attheshow CreditAttribution: attheshow at Richland Library commentedComment #3
dpiLooking at the patch, I don’t see what the point is? It’s pulling the recipient and adding it back again?
Can I ask for the an example use case of the consuming code?
Comment #4
attheshow CreditAttribution: attheshow at Richland Library commentedYeah, so if the module providing the gateway needs to store the recipient's phone number in the database for later processing by the queue, but isn't targeting a user entity as the source of recipient contact information, this is an alternate way to store and retrieve that information.