Allows admin or module to define paths to be included or excluded from purl's outbound url rewrites on a global or provider level.
This module is useful if certain purl providers are only relevant for specific pages and not others.
This module can function in two modes, "Include" or "Exclude". In include mode, only paths defined in the admin or hook_purl_active_paths will be rewritten by purl in outbound links. In exclude mode, these paths will be excluded from rewrites.
I have found nothing like this module.
Comments
Comment #1
ralt commentedHello,
Here is a quick review :
Otherwise, the module is really good!
Have a nice day :-)
Comment #2
ralt commentedComment #3
emosbaugh commentedYou're setting a LOT of persistent variables at line 40. You should think about having your own table.
- I can't see any site setting very many persistant variables here. It is only one per purl provider, not provider id. I think it would be overkill to create my own table. I will if you still think it is necessary.
Add a blank end line
- I believe I have one or I do not understand this request. Please explain.
I have fixed all other issues. Thank you for the feedback.
Comment #4
lslinnet commentedI don't see any harm in settings this in variables, it's only for modules that implemenets the hook_purl_provider().
the "if" structure on line 37 of in the .module file could use a pair of {} around it.
except for that it looks good, in my opinion it's ready to be upgrade to a full module status.
Comment #5
emosbaugh commenteddone. thanks. hope this module is useful for others.
Comment #6
rfayGit vetted User access granted. Thanks for your contributions, and future contributions, and for your patience during this process! Please make sure to help review other applications.