Problem/Motivation

Currently CustomElement::setSlotFromNestedElements does not make much sense. It stems from an era where we did not support multiple nested elements for a single slot. However, since that got added CustomElement::setSlotFromNestedElements should do what the name says and not bother about adding wrapping elements.

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:

Comments

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

Created a MR for it. This should fix it and the new methods make much more sense. I checked our code at drunomics and it seems this change is not really breaking things, since it does not affect usual usage. Still it *can* break some code and will need a change notice. But since we are only in beta, I think this is fine to do still.

fago’s picture

Assigned: Unassigned » mostepaniukvm
mostepaniukvm’s picture

Assigned: mostepaniukvm » Unassigned
Status: Needs review » Reviewed & tested by the community

PR looks good and reasonable. I think we can safely merge it

fago’s picture

Status: Reviewed & tested by the community » Fixed

thx, thus merged.

Status: Fixed » Closed (fixed)

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