Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #3076877: Show that the entity has been soft deleted we gave some output that indicates that the entity has been deleted, but the local task (tab) still gives us the option to Delete. I'm thinking that could be confusing. Could we dynamically switch the tab to "Restore" if the entity has been deleted?
This patch requires that the getSupportedEntityTypes()
method be on the delete manager service. That was changed in #3078441: Add a views exposed filter whos access can be restricted. So I guess this patch depends on it.
Comment | File | Size | Author |
---|---|---|---|
entity_delete_op-dynamic-tab.patch | 3.54 KB | Tim Bozeman |
Comments
Comment #3
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution for Tag1 Consulting commentedI gotta admit. I'm impressed!
Comment #4
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution for Tag1 Consulting commented