You are here

function i18nprofile_user in Internationalization 5

Same name and namespace in other branches
  1. 5.3 i18nprofile/i18nprofile.module \i18nprofile_user()
  2. 5.2 i18nprofile/i18nprofile.module \i18nprofile_user()

Implementation of hook_user().

File

i18nprofile/i18nprofile.module, line 46

Code

function i18nprofile_user($type, &$edit, &$user, $category = NULL) {
  switch ($type) {
    case 'view':

      // return i18nprofile_view_profile($user);
      break;
    case 'categories':
      return i18nprofile_categories();
      break;
    case 'form':
      break;
  }
}