Do not set configuration on install or when new entity type is created

Created on 8 January 2024, 12 months ago
Updated 30 July 2024, 5 months ago

Problem/Motivation

Hi,

When having Entity Clone in an installation profile, even if the entity_clone.cloneable_entities config is exported in the config/install folder of the installation profile, entity_clone_install is overwriting it after the install.

Steps to reproduce

- Edit configuration to not have all entities cloneable.
- Export configuration in an installation profile (with Config Profile for example).
- Install a website with this installation profile.
- See that all entities are cloneable.

Proposed resolution

- Provide a default configuration file in the module
- remove the hook_install
- remove the EntityTypeSubscriber

Remaining tasks

Decide of a solution and implement it.

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024