If we presume noone uses adm* to cover admin but uses full like admin* then we can convert the path matcher to SQL-only. We would need to store the block path masks in a separate table and then do two JOINs -- one is an INNER to check blocks that want to appear on specific pages (we want to store % for pages that do not specify any specific pages for ease) and a LEFT which checks for NULL for the excludes. I started some work on this but have no time to do it.

CommentFileSizeAuthor
#1 block_page_foo.patch3.83 KBchx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

FileSize
3.83 KB