You are here

function i18ncontent_locale in Internationalization 6

Same name and namespace in other branches
  1. 5.3 experimental/i18ncontent.module \i18ncontent_locale()

Implementation of hook_locale().

File

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

Code

function i18ncontent_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'nodetype' => t('Content type'),
      );
    case 'info':
      $info['nodetype']['refresh callback'] = 'i18ncontent_locale_refresh';
      $info['nodetype']['format'] = FALSE;
      return $info;
  }
}