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.
Problem/Motivation
Similar to #2232275: System menu blocks need to be able to depend on their menu entities, views blocks don't depend on the view they are displaying. That makes it impossible to sync or provide a default views block.
Proposed resolution
Ensure the dependency is set.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | 2236851.1.patch | 5.63 KB | alexpott |
Comments
Comment #1
alexpottUsing the same definition key as the system menu block deriver...
Beta blocker due to the data model change of the views blocks and because it would require a hook_update_N().
Comment #2
dawehnerNothing really to complain about.
Comment #3
webchickCommitted and pushed to 8.x. Thanks!
Comment #6
Gábor HojtsyHere is another issue related with blocks and dependencies and views :) #2309247: Views do not depend on modules providing their displays.