Leftover extra field entries in entity_view_display config entity

Created on 22 August 2017, over 7 years ago
Updated 3 April 2025, 11 days ago

When saving the field ui form, Drupal will save the position of each extra field in the entity_view_display config entity.
These entries can be accessed with EntityDisplayBase->getComponents();

I found that after disabling extra_field_example, the entries are still there.
See https://drupal.stackexchange.com/questions/244305/how-to-clean-up-leftov...

I guess the module needs to do some cleanup on uninstall, and maybe after a cache clear?

Or maybe this needs to be implemented in core.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇩🇪Germany donquixote

Live updates comments and jobs are added and updated live.
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.71.5 2024