function gprofile_types in Group 7
Load group member profile types.
Parameters
array $names: (optional) An array of machine names to filter on.
Return value
array An array of GProfileType objects, keyed by their machine names.
See also
entity_load_multiple_by_name()
8 calls to gprofile_types()
- GProfileExtraFieldsController::fieldExtraFields in modules/
gprofile/ classes/ gprofile.extra_fields_controller.inc - Implements EntityExtraFieldsControllerInterface::fieldExtraFields().
- GProfileTypeController::delete in modules/
gprofile/ classes/ gprofile_type.controller.inc - Delete a group member profile type.
- gprofile_entity_info_alter in modules/
gprofile/ gprofile.entity.inc - Implements hook_entity_info_alter().
- gprofile_form_group_membership_form_alter in modules/
gprofile/ gprofile.module - Implements hook_form_FORM_ID_alter().
- gprofile_group_membership_profile_info in modules/
gprofile/ gprofile.group.inc - Implements hook_group_membership_profile_info().
File
- modules/
gprofile/ helpers/ gprofile_type.entity.inc, line 18 - Entity API related helper functions for group member profile types.
Code
function gprofile_types($names = FALSE) {
return entity_load_multiple_by_name('gprofile_type', $names);
}