Ading a new field to a content type by adding field.storage.node.myfield.yml
& field.field.node.article.myfield.yml
configs to config/install
directory of my custom_module
module.
This field is of type customfieldtype
which is defined in the custom_module
module itself.
This adds a new field myfield
of type customfieldtype
to the article
content type.
Now if I try to uninstall this module via the UI, it doesn't allow the module to uninstall because of this dependency:
The MyField field type is used in the following field: node.myfield
Question: Do we require to move the plugin implementation of customfieldtype
to be in a separate module? Can we not achieve the uninstall on this custom module?