10 calls to profile2_load_by_user() in Profile 2 7
- Profile2CRUDTestCase::testCRUD in ./
profile2.test - Tests CRUD for a profile related to a user and one unrelated to a user.
- profile2_by_uid_load in ./
profile2.module - Menu load callback.
- profile2_category_access in ./
profile2.module - Menu item access callback - check if a user has access to a profile category.
- profile2_form_user_profile_form_alter in ./
profile2.module - Implements hook_form_FORM_ID_alter() for the user edit form.
- profile2_from_user_context in plugins/
relationships/ profile2.inc - Return a new context based on an existing context.
- profile2_generate_form_submit in ./
profile2.devel.inc - Submit callback for profile2_generate_form(). Generates profiles for users.
- profile2_user_delete in ./
profile2.module - Implements hook_user_delete().
- profile2_user_get_properties in ./
profile2.module - Entity metadata callback to load profiles for the given user account.
- profile2_user_view in ./
profile2.module - Implements hook_user_view().
- Profile::save in ./
profile2.module - Permanently saves the entity.