You are here

function file_resup_chunksize in File Resumable Upload 8

Same name and namespace in other branches
  1. 7 file_resup.module \file_resup_chunksize()

Returns the configured size of a file chunk.

4 calls to file_resup_chunksize()
file_resup_field_widget_form_alter in ./file_resup.field.inc
Implements hook_field_widget_form_alter().
file_resup_field_widget_process in ./file_resup.field.inc
#process callback for the field widget element.
file_resup_save_upload in ./file_resup.module
Save a completed upload.
file_resup_upload in ./file_resup.module
Menu callback to upload a file chunk.
1 string reference to 'file_resup_chunksize'
file_resup_install in ./file_resup.install
Implements hook_install().

File

./file_resup.module, line 477

Code

function file_resup_chunksize() {
  return variable_get('file_resup_chunksize', FILE_RESUP_DEFAULT_CHUNKSIZE);
}