You are here

function i18ncontent_node_type in Internationalization 5.3

Same name and namespace in other branches
  1. 6 i18ncontent/i18ncontent.module \i18ncontent_node_type()

Implementation of hook_content_type()

@todo More fine grained, just update the given node type (not possible when changing type name)

File

experimental/i18ncontent.module, line 33
Internationalization (i18n) package - translatable content type parameters

Code

function i18ncontent_node_type($op, $info) {
  switch ($op) {
    case 'update':
    case 'insert':
    case 'delete':
      i18ncontent_locale_refresh();
  }
}