You are here

function imce_settings_user1 in IMCE 5

get user #1 settings

2 calls to imce_settings_user1()
imce_form_template in ./imce.module
Return settings form for a role or user1.
imce_settings_user in ./imce.module
get current user's settings
2 string references to 'imce_settings_user1'
imce_file_download in ./imce.module
Implementation of hook_file_download(). support for private downloads.
imce_form_admin_form_submit in ./imce.module
Save settings. (Forms API -> formID_submit)

File

./imce.module, line 498

Code

function imce_settings_user1() {
  return array_merge(imce_settings_default(), variable_get('imce_settings_user1', array()), array(
    'resize' => 1,
    'scale' => 1,
    'delete' => 1,
    'upload' => 1,
    'nolimit' => 1,
    'subnav' => 1,
  ));
}