Problem/Motivation
Steps to reproduce
Field module provides an uninstall validator, FieldUninstallValidator, which checks that a module being uninstalled doesn't provide the field type plugin for any active fields.
However, if a field's config declares a config dependency, that is not checked on uninstall.
This could result in a broken field or entity type - for example, if the module being uninstalled provides the callback_allowed_values_function() for a field.
Proposed resolution
Add another ModuleUninstallValidatorInterface to field module which checks field and field storage config dependencies.
Comments
Comment #2
joachim commentedComment #3
joachim commented