Problem/Motivation

When viewing trashed content directly, there's currently no easy way to purge or restore it contextually from the page it's being viewed on.

Adding a local task addresses this.

Steps to reproduce

View a trashed node directly.

Proposed resolution

Add dynamic local tasks for them.

before and after showing the new local tasks

Remaining tasks

Provide MR with tests.

User interface changes

Sites making use of local tabs will be able to purge/restore trashed content contextually.

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
trash-local-tasks.png11.3 KBcodebymikey

Issue fork trash-3618473

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

codebymikey created an issue. See original summary.

codebymikey’s picture

Issue summary: View changes
Status: Active » Needs review
codebymikey’s picture

Assigned: codebymikey » Unassigned

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

amateescu’s picture

Status: Needs review » Fixed

Very nice idea :) I've improved the multilingual handling a bit, then merged into 3.1.x and cherry-picked to 3.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.