You are here

function uc_roles_condition_role_form in Ubercart 6.2

Settings form for checking the role being granted.

See also

uc_roles_condition_role()

File

uc_roles/uc_roles.ca.inc, line 510
This file contains the Conditional Actions hooks and functions necessary to make the roles-related entity, conditions, events, and actions work.

Code

function uc_roles_condition_role_form($form_state, $settings = array()) {
  $form = ca_condition_user_roles_form($form_state, $settings);
  $form['operator']['#access'] = FALSE;
  return $form;
}