﻿--- nodetype.module	Sun Sep 28 03:18:13 2008 UTC
+++ nodetype.module	Sun Sep 28 03:13:25 2008 UTC
@@ -52,3 +52,17 @@
   }
 }
 
+function nodetype_node_operations() {
+  $operations = array();
+  if (user_access('change node types')) {
+    $node_types = node_get_types();
+    foreach ($node_types as $type => $info) {
+      $operations['change-'. $type] = array(
+        'label' => t('Set type to @type', array('@type' => $info->name)),
+        'callback' => 'node_mass_update',
+        'callback arguments' => array('updates' => array('type' => $type)),
+      );
+    }
+  }
+  return $operations;
+}
