function hook_social_path_manager_group_types_alter in Open Social 10.2.x
Same name and namespace in other branches
- 8.9 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 8.5 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 8.6 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 8.7 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 8.8 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 10.3.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 10.0.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
- 10.1.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
Provide a method to alter array of group views used in open social.
Parameters
array $types: List of group views used in open social.
1 invocation of hook_social_path_manager_group_types_alter()
- _social_path_manager_group_types in modules/
custom/ social_path_manager/ social_path_manager.module - Get a full list of group types.
File
- modules/
custom/ social_path_manager/ social_path_manager.api.php, line 23 - Hooks provided by the Social Path Manager module.
Code
function hook_social_path_manager_group_types_alter(array &$types) {
$types[] = 'challenge';
}