Add support Profile Diff UI

Created on 18 December 2023, 2 months ago
Updated 13 February 2024, 11 days ago

The attached zip provides Diff UI support for the Profile module, with a dependency on this module ie. Entity Diff UI. I'm not expecting to put this code elsewhere so just leaving it here in case anyone wants to pick it up. It requires the 📌 Create the revision UI for profiles Needs review patch.

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇦🇺Australia sime Canberra

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

Comments & Activities

  • Issue created by @sime
  • 🇦🇺Australia sime Canberra
  • 🇦🇺Australia sime Canberra

    Just leaving a note here that this custom code is throwing phpstan errors and I notice there are quite a lot in entity_diff_ui.

     ------ ----------------------------------------------------------------------------------------------
      Line   contrib/entity_diff_ui/src/Form/RevisionOverviewForm.php
     ------ ----------------------------------------------------------------------------------------------
      208    Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
             in drupal:10.1.0 and is removed from drupal:11.0.0. Use
             \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
      211    Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
             in drupal:10.1.0 and is removed from drupal:11.0.0. Use
             \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
    
  • Status changed to Needs review 12 days ago
  • 🇦🇺Australia sime Canberra

    The attached code is working really well for us, and I would like to see this added to the entity_diff_ui as a submodule.

  • 🇦🇺Australia Mingsong 🇦🇺

    Thanks @Si,

    Yes, please create a MR, we can go from there.

  • Status changed to Needs work 11 days ago
  • 🇦🇺Australia Mingsong 🇦🇺
Production build https://api.contrib.social 0.61.6-2-g546bc20