Refactor bundle fields when Drupal core supports code-defined bundle fields

Created on 22 January 2021, about 4 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

I am creating this issue as a place to start organizing thoughts/considerations around the future of our custom hook_farm_entity_bundle_field_info() and how that will need to be refactored if/when Drupal core adds more official support for code-defined bundle field definitions.

Note that we also started using BundleFieldDefinition fields for Consumer entity fields in #3207716: Use BundleFieldDefinition for additional Consumer fields β†’ .

Related core issue: πŸ“Œ Finalize API for creating, overriding, and altering code-defined bundle fields Needs work

Relevant farmOS issues/threads:

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

(Hopefully none.)

API changes

(Hopefully none.)

Data model changes

(Hopefully none, other than the mechanism by which bundle fields are defined.)

πŸ“Œ Task
Status

Postponed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024