You are here

function uc_roles_user in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_roles/uc_roles.module \uc_roles_user()

Implements hook_user().

File

uc_roles/uc_roles.module, line 488

Code

function uc_roles_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':
      return uc_roles_user_delete($account);
    case 'form':
      return uc_roles_user_form($edit, $account, $category);
    case 'submit':
      return uc_roles_user_submit($edit, $account, $category);
    case 'validate':
      return uc_roles_user_validate($edit, $account, $category);
    case 'view':
      return uc_roles_user_view($edit, $account);
  }
}