Hey there,

I was wondering if it is currently possible (or if not, possibly implemented in the future) to create a hook so that a user-defined module may be able to add/modify data to the 'securepages_pages' variable (maybe ignores, too?) when the *_alter functions are called.

For instance, it'd be nice if I could define a hook in my module so that '/my-module-thing' would be secure, without having to actually modify the securepages settings. I think it would be a great feature.

Thoughts/critiques welcome :)

Comments

gordon’s picture

Status: Active » Closed (works as designed)

This has actually been done. Just add to the menu item 'secure' = 1 in hook_menu()