Hello,

My idea here is instead of having only exclude paths option to have an option to choose to include or exclude that paths your are specifying. The use case here is that if for example I want to have the cookie control only visible on frontpage I need to add all available paths in the textarea and for example if the frontpage is node I cannot use for example "node/*" in this field.
I've made a patch for this so you can reverse the logic based on your needs.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

skek’s picture

Status: Active » Needs review
FileSize
3.82 KB

Adding an update hook to fix the backward compatibly.