is it possible to skip the confirmation step when replicating an entity from a link?
Something like /replicate/%entity_type/%id?confirm=1 or not even requiring the confirmation

My usecase is a Replicate link in a View, where users would click to directly clone the intended entity (a confirmation page is ugly)

So, I am not a developer, but I would start by adding an option inside the View field "[Entity type]: replicate link Provide a simple link to replicate the entity".
Currently only the "Text to display" can be set. You could add a checkbox like "Skip confirmation step".

I found the VBO module does this in:

  • views_bulk_operations_handler_field_operations.inc (just look for "skip_confirmation"): to add the option in the form (views' field settings)
  • views_bulk_operations.module (just look for "skip_confirmation"): to skip the confirmation step before firing the operation

..so you could borrow something from there maybe :)

Thanks

Comments

kopeboy’s picture

Issue summary: View changes
Yuri’s picture

Hi, did you manage to solve this?