Problem/Motivation
#2280639: [PP-1] Add the FieldStorageDefinition class to define field storage definitions in hook_entity_field_storage_info() changes an important assumption that was previously made about "bundle fields", which is that they also implement FieldStorageDefinitionInterface
. Even though that assumption is not correct, the contrib Entity module and probably many other instances in custom code rely on the fact that bundle field definitions are now purgeable because of that.
Proposed resolution
Add support for purging stand-alone field definitions
Remaining tasks
- Create a patch.
- Write test.
- Fix it.
User interface changes
None
API changes
API addition: Now purging stand-alone field definition is allowed.
Data model changes
None
Release notes snippet
N/A