CommentFileSizeAuthor
#9 Screenshot from 2020-11-17 09-46-22.png72.8 KBdravenk
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3179801-l Comparecompare
  • 3179801-region-cant-be Comparecompare
  • 1 hidden branch
  • 3179801- Comparechanges, plain diff MR !1

Comments

lawxen created an issue. See original summary.

lawxen’s picture

Issue summary: View changes
lawxen’s picture

Title: Left region can't be null on two columns » Region can't be empty if it's not the last region

dravenk made their first commit to this issue’s fork.

lawxen’s picture

Version: 1.0.x-dev » 1.x-dev

dravenk’s picture

This 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...

dravenk’s picture

Status: Active » Needs review
dravenk’s picture

StatusFileSize
new72.8 KB
lawxen’s picture

Assigned: Unassigned » lawxen

  • lawxen committed 6897583 on 1.x
    Issue #3179801 by dravenk, lawxen: Region can't be empty if it's not the...
lawxen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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