function views_gantt_plugin_style_gantt::load_task_from_node in Views Gantt 7.2
Same name and namespace in other branches
- 7 views_gantt_plugin_style_gantt.inc \views_gantt_plugin_style_gantt::load_task_from_node()
1 call to views_gantt_plugin_style_gantt::load_task_from_node()
File
- ./
views_gantt_plugin_style_gantt.inc, line 624 - Contains the list style plugin.
Class
- views_gantt_plugin_style_gantt
- Style plugin to render Gantt charts.
Code
function load_task_from_node($nid) {
$node = node_load($nid);
if ($node) {
return $this
->add_task($node, 'node');
}
return FALSE;
}