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
Some blocks can never be loaded lazily so blocks should be able to opt-out from that if they want. In Drupal Core main content block opt-outs from this but its hard coded. #2476947: Convert "title" page element into a block adds another block which cannot be loaded lazily.
Proposed resolution
Create new interface to opt-out from #lazy_builder callback and make main content block and title block implement that interface.
Remaining tasks
-
User interface changes
-
API changes
-
Data model changes
-
Comments