You are here

Plugins

D8 Notes: 'Fields pending deletion' Exception

Categories: 

While working on a module that defines a custom field I attempted a reinstall of the module. During the uninstall process I received the following exception:

D8 Notes: Remove Plugin Usages Before Uninstalling A Module

In this Drupal 8 note, I want to discuss a nasty little bug I found yesterday, which could lead to some serious problems for module developers.

Drupal 8 introduced the new Plugin system, which is an amazing way to allow modules to be extended. To say I've become a fan would be an understatement.

But disaster hit yesterday. While working on a module that creates a View's display extender plugin, I had to uninstall the module. Once I did, I got hit with WSOD (WSOEM - actual White Screen Of Error Messages). The error was:

Subscribe to RSS - Plugins