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.
I am getting visibility warning in dashboard settings page.
Step 1: Go to config/system/draggable_dashboard/manage/{dashboard_id}
Step 2: Press "Place block"
Step 3: Select block
After creation I get this warning:
Warning: Invalid argument supplied for foreach() in Drupal\block\BlockForm->validateVisibility()
In my opinion we should use access instead of unset for visibility and theme. I added patch for this.
Comment | File | Size | Author |
---|---|---|---|
visibility_warning_fixed.patch | 641 bytes | armandaslt | |
Comments
Comment #2
armandaslt CreditAttribution: armandaslt commentedComment #3
armandaslt CreditAttribution: armandaslt commentedComment #5
cmd87 CreditAttribution: cmd87 at 1xINTERNET commentedThanks #2armandaslt! The patch applied.
Comment #6
cmd87 CreditAttribution: cmd87 at 1xINTERNET commentedComment #7
cmd87 CreditAttribution: cmd87 at 1xINTERNET commented