You are here

function imce_profile_options in IMCE 6.2

Same name and namespace in other branches
  1. 6 inc/admin.inc \imce_profile_options()
  2. 7 inc/imce.admin.inc \imce_profile_options()

Profile options.

1 call to imce_profile_options()
imce_role_form in inc/imce.admin.inc
Role-profile form

File

inc/imce.admin.inc, line 547
Serves administration pages of IMCE.

Code

function imce_profile_options() {
  $options = array(
    t('none'),
  );
  foreach (variable_get('imce_profiles', array()) as $pid => $profile) {
    $options[$pid] = $profile['name'];
  }
  return $options;
}