Auto-generate default CE display config per entity type

Created on 25 May 2023, about 1 year ago
Updated 26 March 2024, 3 months ago

Problem/Motivation

When custom_elements module is enabled we need to have at least default entity_ce_display per every Fieldable entity type.
It must be reliable and by default we will generate custom_element out of configuration.

Proposed resolution

We need to check first on the core's solution but the possible concept can be like this:
- implement a service;
- use service in hook_install(), hook_update(), and on entity type creation;

Completed

- service has been implemented-
- called in hook_install()
- called in hook_update()
- EntityTypeCreateSubscriber added to subscribe to entityTypeCreate event and call the default config generator service

Remaining tasks

- not sure the subscriber (actually the service call) is working correctly yet, so it needs more testing/debugging to make it's reliable

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine mostepaniukvm

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024