- Issue created by @rodericksandoval
Drupal 10.1 expanded version history UI support for revisionable entities:
This adds a duplicated "Revisions" tab to entities created by modules that include their own local task in *.links.task.yml
, as reported in other projects:
There is ongoing work aimed to fix this issue in Drupal 11:
This can be fixed by unsetting the default local task by implementing hook_local_tasks_alter
, or by removing the local task provided by the module in storage.links.task.yml
.
Since revisions UI is now provided by Drupal, removing the task from the module offers a better long term solution.
The attached patch works with Storage 1.4, which requires Drupal => 10.1:
Active
1.4
User interface