@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_profiles.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_profile2_type().
|
||||
*/
|
||||
function materio_user_profiles_default_profile2_type() {
|
||||
$items = array();
|
||||
$items['adherent'] = entity_import('profile2_type', '{
|
||||
"userCategory" : true,
|
||||
"userView" : true,
|
||||
"type" : "adherent",
|
||||
"label" : "Member Profile",
|
||||
"weight" : "0",
|
||||
"data" : { "registration" : 0 }
|
||||
}');
|
||||
$items['contact_operationnel'] = entity_import('profile2_type', '{
|
||||
"userCategory" : true,
|
||||
"userView" : true,
|
||||
"type" : "contact_operationnel",
|
||||
"label" : "Contact Profile",
|
||||
"weight" : "0",
|
||||
"data" : { "registration" : 0 }
|
||||
}');
|
||||
return $items;
|
||||
}
|
||||
Reference in New Issue
Block a user