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.
How is the URL setting used?
The only documentation I can find on this is the example
'url' => url('plupload-handle-uploads', array('query' => array('plupload_token' => drupal_get_token('plupload-handle-uploads')))),
But as it is a bit confusing I was wondering how to use it, fx to put the images in a custom folder.
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedURL configures men callback that is used to handle uploads. You shouldn't change this unless you implement your own upload callback.
You could upload files to custom folder if you implement hook_file_presave() and do it there. Would be nice to have this feature in this module too.