function og_subgroups_views_handler_field_child_count::render in Subgroups for Organic groups 6
File
- modules/
og_subgroups_views/ includes/ og_subgroups_views_handler_field_child_count.inc, line 15
Class
Code
function render($value) {
og_subgroups_include('tree');
$children = og_subgroups_get_group_children($value, $this->options['deep']);
return count($children);
}