Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts.
I really want block config to be pretty standard, which means being able to see all my blocks when I visit the blocks page, however this module hides those blocks that are in a Block Visibility Group - this threw me at first (where did my block go), and it took me a second to see the select options. However even after setting an option this did not persist.
I have some suggestions:
- Set config for the users selection and use that as the #default_value so it can persist.
- Set the initial value as all blocks
Thank-you for a great module, and it might be even cooler if you could set a query as a condition, sort of like https://www.drupal.org/project/block_query did in D7 :) This is because I really want to set blocks for the front page but hide them on pager pages, e.g. a slideshow etc.
Comments
Comment #2
tedbowJeff thanks for the suggestion I think your 2 ideas sound good. Changing to feature request.
I created a follow up issue for your other suggestion #2627360: Create query string parameter condition If you could clarify what you mean there that would great!
Comment #4
tedbowJeff, for now I have added your suggestion #2. I didn't add #1 because I don't think when you come back to the Blocks Layout page it should necessarily go to the last group you were on.
The group will persist(or it should) if you are doing operations on the block page and viewing a group. Also if you have "Block Visibility Groups Admin" sub-module on you can easily get to the current group(s) from the toolbar.