You are here

function hook_social_path_manager_group_types_alter in Open Social 8.7

Same name and namespace in other branches
  1. 8.9 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  2. 8.5 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  3. 8.6 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  4. 8.8 modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  5. 10.3.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  6. 10.0.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  7. 10.1.x modules/custom/social_path_manager/social_path_manager.api.php \hook_social_path_manager_group_types_alter()
  8. 10.2.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';
}