See #1199946-133: Disabled modules are broken beyond repair so the "disable" functionality needs to be removed.
Field purging needs the entity storage controller, and shouldn't try anything if the entity type is unknown.
Will this still matter after disabled modules goes in ? Other than that, looks good to me.
It's probably going to be #2080823: Create API to discover config entities' soft dependencies and use this to present a confirm form on module uninstall rather than directly #1199946: Disabled modules are broken beyond repair so the "disable" functionality needs to be removed, but yes, that's possible.
Added a "@todo Revisit"
Ok, let's get this in for now then.
Committed 304da11 and pushed to 8.x. Thanks!
this fixed #2004316: Exception on field_purge_batch() after deleting a field
i marked it as duplicate, maybe @yched or @swentel could confirm this is the right status
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.