Entity keys should only be added to an entity type if they are enabled

Created on 3 April 2025, 2 days ago

Problem/Motivation

Currently, the following entity_keys are added to every ECK entity type:

id
bundle
label
uuid
langcode
published

These fields aren't actually present on all entity types though, it depends on the enabled features.

Proposed resolution

Only add entity keys if the associated fields exist.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024