Bit of a stub for the moment.

we need to introduce a new ConfigEntity for master displays, and implement their inheritance into normal displays. master displays are mostly just a rehash of normal displays, excepting that we have to be a little smarter about how we order the blocks in the regions. instead of just recording a weight, we need to keep track of information like "stick to top" or "stick to bottom" of region; this information will be necessary to intelligently resolve block ordering in a regular display when inheriting from the master.

initially, we'll restrict inheritance of a master display to a normal display that's using the same layout plugin. we can explore expanding that later (maybe in contrib), but attempting to do layout remapping AND block ordering resolution at the same time would be daunting.

Comments

sdboyer’s picture

Issue tags: +Blocks-Layouts

tagging.

sdboyer’s picture

Project: Drupal core » Drupal 8 Blocks Everywhere
Version: 8.x-dev »
Component: layout.module » Code
Status: Active » Fixed

@tim.plunkett pinged me about this, reminding me - this has been done for ages in princess. i actually went a different route, and allowed displays to implement interfaces that designate them as parents or children.

so, makes the most sense to move this to princess, and mark it fixed.

Automatically closed -- issue fixed for 2 weeks with no activity.