function oa_related_get_best_section in Open Atrium Related Content 7.2
Return the best section id to create $node in.
Parameters
$options array is optional to restrict return values:
1 call to oa_related_get_best_section()
- oa_related_form_node_form_alter in ./
oa_related.module - Implements hook_form_FORM_ID_alter() for node_form.
File
- ./
oa_related.module, line 244
Code
function oa_related_get_best_section($type, $options = array(), $space_id = NULL) {
return module_exists('oa_sections') ? oa_sections_get_best_section($type, $options, $space_id) : NULL;
}