You are here

function oa_tour_node_insert in Open Atrium Tours 7.2

Implements hook_node_insert().

File

./oa_tour.module, line 167
Code for the Open Atrium Bootstrap Tour customizations.

Code

function oa_tour_node_insert($node) {

  // Fetch the next tour to run from the form fields and then run it.
  if (!empty($node->nexttour)) {
    $_SESSION['nexttour'] = $node->nexttour;
  }
}