From 78da0725c82667fdd1b87308dd419101cb21077e Mon Sep 17 00:00:00 2001 From: "jacob.embree" Date: Tue, 19 Jun 2018 13:33:22 +0200 Subject: [PATCH] #1997274 Return docs for og_get_entity_groups() unclear. --- og.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/og.module b/og.module index 23af037dd..1027b6306 100755 --- a/og.module +++ b/og.module @@ -2305,9 +2305,9 @@ function og_user_access_entity($perm, $entity_type, $entity, $account = NULL, $s * (optional) The field name associated with the group. * * @return - * An array with the group's entity type as the key, and array - keyed by - * the OG membership ID and the group ID as the value. If nothing found, - * then an empty array. + * An associative array keyed by the group's entity type. Each value is itself + * an array, where each item has for its key the OG membership ID and for its + * value the group ID. */ function og_get_entity_groups($entity_type = 'user', $entity = NULL, $states = array(OG_STATE_ACTIVE), $field_name = NULL) { $cache = &drupal_static(__FUNCTION__, array()); -- GitLab