You are here

social_group_request.api.php in Open Social 10.2.x

Hooks provided by the Social Group Request module.

File

modules/social_features/social_group/modules/social_group_request/social_group_request.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the Social Group Request module.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Provide a method to alter array of group types used in social group request.
 *
 * @param array $group_types
 *   List of group types used in open social.
 *
 * @ingroup social_group_api
 */
function hook_social_group_request_alter(array &$group_types) {
  $group_types[] = 'flexible_group';
}

Functions

Namesort descending Description
hook_social_group_request_alter Provide a method to alter array of group types used in social group request.