Description of the need I just ran into an issue where I wanted to manually mark a bunch of temporary files as permanent, but the only way I could do that was with a database query. I'd love to have a bulk operation instead.
Proposed solution
Add an action for the drop-down on the files listing at admin/content/files
Additional information I don't think we need to provide the opposite (make temporary) because most people would probably delete that file if it were not wanted.
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE