I changed a little bit. Now it's possible to hide the required message on given paths.

Comments

creazion_dev’s picture

StatusFileSize
new7.8 KB
creazion_dev’s picture

StatusFileSize
new7.79 KB

Sorry, some misstypos in the first patch.

smk-ka’s picture

No, this is IMO not the correct approach. Rather, the module should be changed to generate the text in an #after_build function. This allows other modules to set a flag by implementing hook_form_alter(), which tells the #after_build handler not to render some (or all) of the text. But unless the code clean-up patch has landed this is very unlikely to happen. :(

arcaneadam’s picture

I've added a new release that fixes the code cleanup issue. If you'd like to explore this some more then feel free.