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.

Issue fork diff-3612202

Command icon 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

hidehisa created an issue. See original summary.

hidehisa’s picture

Issue summary: View changes
acbramley’s picture

Work 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.

sriram_s made their first commit to this issue’s fork.

sriram_s’s picture

Status: Active » Needs review

Carried 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.

acbramley changed the visibility of the branch 3612202-customized-route-controller to hidden.