Closed (fixed)
Project:
Layout Builder Awesome Sections
Version:
1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Oct 2020 at 07:27 UTC
Updated:
1 Dec 2020 at 05:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lawxen commentedComment #3
lawxen commentedComment #5
lawxen commentedComment #7
dravenkThis line https://git.drupalcode.org/project/layout_builder_awesome_sections/-/mer... only get regions that have blocks. So when initialization of the $build variable, regions with blocks come first.
$build [
'second' => 'some value'
]
When you push author regions attributes will make the $build like this.
$build [
'second' => 'some value with blocks',
'first' => 'some value without block',
'third' => 'some value without block'
]
So will render the Second region first, then is the First region, etc.
https://git.drupalcode.org/project/layout_builder_awesome_sections/-/blo...
Comment #8
dravenkComment #9
dravenkComment #10
lawxen commentedComment #12
lawxen commented