Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295783

`\Drupal\layout_builder\Section::setComponent` should verify the region in that layout exists

$
0
0

Problem/Motivation

\Drupal\layout_builder\Section::setComponent should verify the region in that layout exists

Steps to reproduce

Programatically/via config actions, you can set/append/insert a component to a region that doesn't exist in a given layout. No errors given, no UI changes, but the component lives in the section.

Proposed resolution

Verify the layout provides the region on \Drupal\layout_builder\Section::setComponent.

Remaining tasks

Fix + test.

User interface changes

None.

Introduced terminology

None.

API changes

None.

Data model changes

None.

Release notes snippet

None.


Viewing all articles
Browse latest Browse all 295783

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>