function ctools_role_ctools_access_settings

cis7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)
cle7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)
elmsmedia7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)
icor7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)
meedjum_blog7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)
mooc7 role.inc ctools_role_ctools_access_settings($form, &$form_state, $conf)

Settings form for the 'by role' access plugin

1 string reference to 'ctools_role_ctools_access_settings'
role.inc in sites/all/modules/ulmus/ctools/plugins/access/role.inc
Plugin to provide access control based upon role membership.

File

sites/all/modules/ulmus/ctools/plugins/access/role.inc, line 26
Plugin to provide access control based upon role membership.

Code

function ctools_role_ctools_access_settings($form, &$form_state, $conf) {
  $form['settings']['rids'] = array(
    '#type' => 'checkboxes',
    '#title' => t('Role'),
    '#default_value' => $conf['rids'],
    '#options' => ctools_get_roles(),
    '#description' => t('Only the checked roles will be granted access.'),
  );
  return $form;
}