Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293760

Allow purging stand-alone field definitions

$
0
0

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


Viewing all articles
Browse latest Browse all 293760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>