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.
Hello
Nice module!
Does anybody know how to use it in a block template file? Which function do I need to call to use invisimail?
Thanks,
Marco
EDIT: check_markup does not work.
Comments
Comment #0.0
46AND2 CreditAttribution: 46AND2 commented1
Comment #1
pontus_nilssonYou need to provide a text format where invisimail is enabled when you run check_markup().
I.e check_markup('test@test.com', 'html'); where html is the machine name of you text format where invisimail is enabled.
Comment #2
gruda CreditAttribution: gruda commentedRunning check_markup() will pass the string through every filter enabled for that text format. If you want to run a string through the invisimail filter only, try this (where 'html' is a text format where invisimail is enabled.)