You are here

function node_registration_node_load in Node registration 7

Implements hook_node_load().

File

./node_registration.module, line 227

Code

function node_registration_node_load($nodes, $types) {
  module_load_include('inc', 'node_registration', 'includes/node_registration.node_settings');
  foreach ($nodes as $node) {
    if (empty($node->registration)) {
      $node->registration = new NodeRegistrationNodeSettings($node);
    }
  }
}