Make Physical field differences visible to the "diff" module

Created on 23 July 2019, over 5 years ago
Updated 5 August 2024, 6 months ago

It looks like changes to physical measurements don't show up in the "diff" module ( https://www.drupal.org/project/diff ), that allows comparisons between revisions to see what changes have been made. The field shows up as not changing between revisions.

To accomplish this, it looks like a src/Plugin/diff/Field/PhysicalFieldBuilder.php would need to be implemented, extending diff's "FieldDiffBuilderBase"

I need this for my own project, and might come back and implement this if it's not an already obvious duplicate.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇦Canada TrevorBradley

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    @TrevorBradley thanks, this makes sense. Could you please turn this into a MR? Furthermore, you implement some methods that can just be inherited, the parent:: calls are not needed, as they don't do anything more useful here.

Production build 0.71.5 2024