- Issue created by @k.prozorov
- Status changed to Needs review
about 1 year ago 10:31am 14 December 2023 - 🇷🇺Russia k.prozorov
I have prepared a patch that adds the ability to pass subscription IDs to the method
Usage example:$subscriptions = [1, 2, 3]; // there can be any logic for obtaining subscription IDs. \Drupal::service('web_push.manager')->sendNotification( 'Notification Title', 'Notification Body', 'noticiation-redirect-url', 'notification-icon-url', \Drupal\web_push\Service\WebPushSender::URGENCY_HIGH '', $subscriptions );
- First commit to issue fork.
- Assigned to yfiervil
- 🇫🇷France yfiervil
Thanks for the suggestion.
I have adjust a little your patch. I didn't test it for the moment.
- Status changed to Fixed
about 1 year ago 1:59pm 15 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.