function dropzonejs_update_8001 in DropzoneJS 8
Same name and namespace in other branches
- 8.2 dropzonejs.install \dropzonejs_update_8001()
The upload handler should use stream wrappers.
File
- ./
dropzonejs.install, line 47 - Install, update and uninstall functions for the dropzonejs module.
Code
function dropzonejs_update_8001() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('dropzonejs.settings');
$config
->clear('tmp_dir');
$config
->set('tmp_upload_scheme', 'temporary');
$config
->save(TRUE);
}