Contrib module created to solve the following error:

non-existent config entity name returned by FieldStorageConfigInterface::getBundles()

Features

Adds a drush command to remove extraneous config entities. Use it as follows:

drush update:correct-field-config-storage [entity type] [bundle] [field name]

Here's a real world example:

drush update:correct-field-config-storage comment comment_node_site comment_body

Post-Installation

No config, but you must enable the module as usual:

drush en update_config_entity

Additional Requirements

Requires Drush in order to function. Depending on your environment, you may need to run it using vendor/bin/drush or something like ddev drush.

Supporting this Module

Credit to junaidpv for writing the original version. See https://www.drupal.org/project/drupal/issues/2916266#comment-14351828

Project information

Releases