--- nodetype.module 2008-03-23 07:48:34.000000000 -0700 +++ nodetype.module.update 2009-03-10 10:04:41.000000000 -0700 @@ -51,3 +51,19 @@ function nodetype_form_alter(&$form, $fo ); } } + +function nodetype_node_operations() { + include_once(drupal_get_path('module', 'node').'/node.admin.inc'); + $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; +}