Problem/Motivation
When customizing entity.{{entity_type_id}}.version_history route to use custom controller, diff module ignores that entity_type from enabling diff UI, even if that controller is subclass of \Drupal\Core\Entity\Controller\VersionHistoryController.
Proposed resolution
Allow subclassed route controller.
| Comment | File | Size | Author |
|---|---|---|---|
| patch_diff_allow_subclassed_controller_class.patch | 709 bytes | hidehisa |
Issue fork diff-3612202
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
hidehisa commentedComment #3
acbramley commentedWork must be done in an MR, patches are not accepted, please read https://git.drupalcode.org/project/diff#contribution-guidelines
Please also update the issue summary with more information about what you are trying to do, what's not working, etc.
Comment #6
sriram_s commentedCarried forward @hidehisa's patch from #1 into MR !176 as requested in #3. Tested locally on Drupal 10.6 and the MR pipeline is green. Moving to Needs review.