You are here

function imce_settings_role in IMCE 5

get role settings

1 call to imce_settings_role()
imce_form_template in ./imce.module
Return settings form for a role or user1.

File

./imce.module, line 451

Code

function imce_settings_role($rid) {
  $settings = variable_get('imce_settings_roles', array());
  return is_array($settings[$rid]) ? $settings[$rid] : imce_settings_default();
}