Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | block_page_foo.patch | 3.83 KB | chx |
Comments
Comment #1
chx CreditAttribution: chx commented