You are here

function pm_permission_get_all_child_nids in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 includes/pm.permission.inc \pm_permission_get_all_child_nids()

Helper function to get all child nids under current node.

1 call to pm_permission_get_all_child_nids()
pm_permission_hunt_and_update_all_child_permission in includes/pm.permission.inc
Check and performs access update if supplied pmorganization.

File

includes/pm.permission.inc, line 732
Main module file for the pm_permission module.

Code

function pm_permission_get_all_child_nids($nid) {
  $parents = array(
    $nid,
  );
  $result = NULL;
  _pm_permission_get_all_child_nids($parents, $result);
  return $result;
}