You are here

function locale_node_type in Drupal 6

Implementation of hook_node_type().

File

modules/locale/locale.module, line 306
Add language handling functionality and enables the translation of the user interface to languages other than English.

Code

function locale_node_type($op, $info) {
  if ($op == 'delete') {
    variable_del('language_content_type_' . $info->type);
  }
}