Layouts are ignored by ECK

Created on 12 May 2016, about 8 years ago
Updated 11 May 2023, about 1 year ago

Hi, I've created a new ECK type on a clean Drupal 8.1.1 website. The ECK has been called "rows" and I've assigned a layout from the default provided. I've also created a new entity reference field to "rows" on the default page content type.

The ECK content is not rendered using the assigned DS. Drupal simply prints the fields ignoring the DS layout.

I've tried to create a specific visualization mode and I've assigned it on the entity reference field visualization settings but with no difference.

Finally I've tried to print the ECK using views, even in this case the DS layout is ignored.

I've tried to use layouts referencing standard nodes and everything works as expected. The bug looks isolated to ECK entities.

Thanks for your feedback.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy FiNeX

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024