Jacob Embree

Results 5 comments of Jacob Embree

I believe this is the documentation you need. https://cgit.drupalcode.org/services/plain/docs/services.versions.api.php?h=7.x-3.x

Almost all of my code came from Drupal's [`node_access()`](https://api.drupal.org/api/drupal/modules%21node%21node.module/function/node_access/7.x) and [`node_node_access()`](https://api.drupal.org/api/drupal/modules%21node%21node.module/function/node_node_access/7.x) functions.

Instead of using `TRUE` and `FALSE` I would call the parameter `$state` and use a default value of `OG_STATE_ACTIVE`, then use `$state` in the line that currently reads: ``` $og_memberships...