function social_group_flexible_group_install in Open Social 8.7
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 8.6 modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 8.8 modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 10.3.x modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 10.0.x modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 10.1.x modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
- 10.2.x modules/social_features/social_group/modules/social_group_flexible_group/social_group_flexible_group.install \social_group_flexible_group_install()
Implements hook_install().
File
- modules/
social_features/ social_group/ modules/ social_group_flexible_group/ social_group_flexible_group.install, line 11 - Install and update functions for the social_group_flexible_group module.
Code
function social_group_flexible_group_install() {
// Set some default permissions.
_social_group_flexible_group_set_permissions();
// Set module weight higher as the weight of the "Social Group" module because
// needs have the Views group type field which added via the "Social Group"
// module.
module_set_weight('social_group_flexible_group', 5);
}