function workbench_scheduler_node_insert in Workbench Scheduler 7
Implements hook_node_insert().
File
- ./
workbench_scheduler.module, line 202 - Content scheduling for Workbench.
Code
function workbench_scheduler_node_insert($node) {
if (isset($node->workbench_schedule)) {
// Save the schedule.
workbench_scheduler_save_node_schedule($node->nid, $node->vid, (array) $node->workbench_schedule);
}
}