function crm_core_relationship_ui_relationship_type_load in CRM Core 8.3
Same name and namespace in other branches
- 8 modules/crm_core_relationship_ui/crm_core_relationship_ui.module \crm_core_relationship_ui_relationship_type_load()
- 8.2 modules/crm_core_relationship_ui/crm_core_relationship_ui.module \crm_core_relationship_ui_relationship_type_load()
- 7 modules/crm_core_relationship_ui/crm_core_relationship_ui.module \crm_core_relationship_ui_relationship_type_load()
Argument loading function.
Parameters
string $relationship_type: Machine readable name of the relationship type.
Return value
object A loaded relation type object
File
- modules/
crm_core_relationship_ui/ crm_core_relationship_ui.module, line 201 - Relationship UI module hooks.
Code
function crm_core_relationship_ui_relationship_type_load($relationship_type) {
return RelationType::load($relationship_type);
}