/**
 * Gets the children of the given group including current group.
 *
 * @param $group_type
 *  The type of entity.
 * @param $group_id
 *  The id of the entity.
 * @param $fetch_all
 *   Fetch all including grandchildren and below.
 * @param $include_current
 *  Include the group that was given as paramaters.
 * @param $reset
 *   Reset the cache for this entity.
 */
function og_subgroups_children_load($group_type, $group_id, $filter = TRUE, $fetch_all = TRUE, $include_current = FALSE, $reset = FALSE) {}

The $filter argument allow to find only children with enabled user inheritance. Passing FALSE give the possibility to find all children without any restriction.

CommentFileSizeAuthor
#1 missing_argument_doc-2496909-1.patch529 bytesvbouchet

Comments

vbouchet’s picture

Status: Active » Needs review
StatusFileSize
new529 bytes
mpotter’s picture

Status: Needs review » Reviewed & tested by the community

  • mpotter committed bb1b644 on 7.x-2.x authored by vbouchet
    Issue #2496909 by vbouchet: $filter argument from...
mpotter’s picture

Status: Reviewed & tested by the community » Fixed

Committed in bb1b644.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.