You are here

function rb_user_action_global_user_form in Rules Bonus Pack 6

Configuration form for 'rb_user_action_global_user'.

File

./rb_user.module, line 151
Functions for extending user management with Rules.

Code

function rb_user_action_global_user_form($settings, &$form) {
  $form['settings']['clear_cache'] = array(
    '#type' => 'checkbox',
    '#title' => t('Clear the cache for global user before fetching'),
    '#description' => t('This may be useful when using this action on a page
      load where the user object is changed.'),
    '#default_value' => $settings['clear_cache'],
  );
}