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.
The notify module refers out to drupal_html_to_text(); however this is not part of the Drupal 8.x API and causes an exception which is visible if turn on fault tracking.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal_html_to_text_missing-2945752-2.patch | 1003 bytes | malaynayak |
Comments
Comment #2
malaynayak CreditAttribution: malaynayak as a volunteer and at TA Digital commentedHi,
drupal_html_to_text() is no longer there is drupal8. Drupal\Core\Mail\MailFormatHelper::htmlToText() should be used instead.
I have made the changes accordingly. Please review the patch.
Comment #3
rnhunt CreditAttribution: rnhunt commentedThanks for that, quick! Yes, it fixes the issue. I still have other issues however - will raise separately. Appreciate the work for this important module.
Comment #4
malaynayak CreditAttribution: malaynayak as a volunteer and at TA Digital commentedHi @rnhunt,
Thank you for the appreciation. Could you please give me some credit for the patch.
Thanks
Comment #5
rnhunt CreditAttribution: rnhunt as a volunteer commentedSure, I'm new to this though so you will need to let me know how!
Comment #6
malaynayak CreditAttribution: malaynayak as a volunteer and at TA Digital commented@rnhunt,
Please refer the links:
1. https://www.drupal.org/getting-involved/maintainer/grant-issue-credits
Also, you can commit the patch by using the same command from credits and committing section below.
Comment #7
rnhunt CreditAttribution: rnhunt as a volunteer commentedComment #8
rnhunt CreditAttribution: rnhunt as a volunteer commentedAll fine in my testing.
Comment #10
gisleCommitted to the 8.x-1-x development branch.