Problem/Motivation
2 Errors are thrown when writing a test and adding a new section. One is a reference error and the other one is about $config['layout_builder_id'] not being set.
Steps to reproduce
Believe its as simple as creating a new section and errors are thrown. In my case it was written a PHPUnit Functional test to check if Section ID is there.
Proposed resolution
Remove invalid reference and change ?: if to ??, which does a isset check first.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix-2-errors-3200856-1.patch | 1.45 KB | istryker |
Issue fork layout_builder_ids-3200856
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:
Comments
Comment #2
istryker commentedPatch attached
Comment #6
igorbiki commentedComment #7
igorbiki commented