updated features materio_subscrition and materio_user_profile

This commit is contained in:
Bachir Soussi Chiadmi
2013-12-09 17:22:25 +01:00
parent 39759425ce
commit 5cde537e0a
18 changed files with 3269 additions and 459 deletions
+10 -1
View File
@@ -4,6 +4,15 @@
* materio_user_profiles.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function materio_user_profiles_ctools_plugin_api($module = NULL, $api = NULL) {
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_default_profile2_type().
*/
@@ -15,7 +24,7 @@ function materio_user_profiles_default_profile2_type() {
"type" : "adherent",
"label" : "Member Profile",
"weight" : "0",
"data" : { "registration" : 0 }
"data" : { "registration" : 0, "use_page" : 0 }
}');
$items['contact_operationnel'] = entity_import('profile2_type', '{
"userCategory" : true,