You are here

function node_convert_init in Node Convert 6

Implementation of hook_init().

File

./node_convert.module, line 38
The node_convert module converts nodes from one type to another.

Code

function node_convert_init() {
  foreach (array(
    'book',
    'forum',
    'uc_product',
    'panels_node',
  ) as $module) {
    if (module_exists($module)) {
      module_load_include('node_convert.inc', 'node_convert', 'includes/' . $module);
    }
  }
}