Problem/Motivation

The cl_component render element does not support providing input for the Twig blocks.

This will centralize the component temporary template generation used in CL Server and CL Block.

Proposed resolution

Make the custom render element use embed (instead of includ), and add a new property #twig_blocks to provide data for the twig blocks on the component.

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

Status: Active » Fixed

  • e0ipso committed 00a96de on 1.x
    Issue #3309314 by e0ipso: Custom render element should support Twig...

Status: Fixed » Closed (fixed)

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