Problem/Motivation

We want to be able to embed components without knowing the path to the component. This will make #3293455: Allow altering components created elsewhere possible.

Proposed resolution

We should allow embedding components with the following syntax:

{% embed 'component-id:variant' with { foo: 'bar' } %}
{% endembed %}

We should still support embedding components by path to maintain BC.

CommentFileSizeAuthor
#4 3309297-4.patch5.19 KBe0ipso
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

e0ipso created an issue. See original summary.

e0ipso’s picture

Issue summary: View changes
e0ipso’s picture

Title: Support loading components via prefix and identifier instead of path » Support loading components via identifier instead of path
Issue summary: View changes
e0ipso’s picture

Status: Active » Fixed
StatusFileSize
new5.19 KB

  • e0ipso committed 24a8704 on 1.x
    Issue #3309297 by e0ipso: Support loading components via identifier...

Status: Fixed » Closed (fixed)

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