You are here

function imce_profile_options in IMCE 7

Same name and namespace in other branches
  1. 6.2 inc/imce.admin.inc \imce_profile_options()
  2. 6 inc/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 636
Serves administration pages of IMCE.

Code

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