Problem/Motivation

We recently added the media_file_delete module to our site, which we love. It adds a checkbox to the Media delete confirmation form that says something along the lines of "Delete the associated file from the server as well" - this checkbox only shows up if you are deleting the last reference to it.
It would be amazing if we could add this checkbox and functionality to the media directories ui delete modal form.

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

porchlight created an issue. See original summary.

ytsurk’s picture

Thank you for your suggestion. We'll keep it in mind ;)

porchlight’s picture

I've created a patch for this.

ytsurk’s picture

Assigned: Unassigned » ytsurk
Status: Active » Needs review

Woaw - your great, thanks a lot.

I'll review it soonish. I'll make a 2.0.2 release the next days, only containing bugfixes.
And then, a 2.1.0 release with new features, where I'll take this.

porchlight’s picture

StatusFileSize
new5.33 KB

Better patch.

ytsurk’s picture

Version: 2.x-dev » 2.1.x-dev

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

rang501’s picture

Status: Needs review » Closed (outdated)

Version not supported anymore. If this is still needed, reopen new issue for 3.x.

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.