Config left over core.entity_view_display.node

Created on 6 February 2023, almost 2 years ago

Problem/Motivation

The config is not deleted from core.entity_view_display.node.x.x.yml

I am not sure how big of an issue this is but my gut feeling is telling me that it's not right and that the module should
clean any config changes it mades when being uninstalled.

Steps to reproduce

1 - Install the module and enable on the content type of your choice (e.g: Basic page)
2 - Export the config
3 - Check that you have the field config into core.entity_view_display.node.page.default.yml

reading_time:
    settings: {  }
    third_party_settings: {  }
    weight: 100
    region: content 

4 - Uninstall the module / Clear cache / run cron
5 - Export the config
6 - Check core.entity_view_display.node.page.default.yml
7 - Config field is not deleted.

Proposed resolution

- Clear config when the module is uninstalled
- Find the content config that needs to be updated from node_read_time.settings.yml

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.9

Component

Code

Created by

🇮🇪Ireland asirjacques Dublin

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

Comments & Activities

Production build 0.71.5 2024