You are here

function classified_node_type_update in Classified Ads 7.3

Same name and namespace in other branches
  1. 6.3 classified.module \classified_node_type_update()

Implements hook_node_type_update().

Just log the event; nothing to do:

  • machine name and content type are locked by classified_node_info(),
  • other node type properties are not used by the module,
  • node updates are conducted by node.module as needed.

File

./classified.module, line 1428
A pure D7 classified ads module inspired by the ed_classified module.

Code

function classified_node_type_update($info) {
  $type = $info->orig_type;
  if ($type == 'classified') {
    watchdog('classified', 'Classified node type %type has been modified: %changes', array(
      '%type' => $type,
      '%changes' => var_export($info, TRUE),
    ), WATCHDOG_NOTICE, l(t('Edit'), "admin/structure/types/manage/{$type}"));
  }
}