You are here

function i18n_taxonomy_i18n_translation_set_info in Internationalization 7

Implements hook_i18n_translation_set_info()

File

i18n_taxonomy/i18n_taxonomy.i18n.inc, line 71
Internationalization (i18n) hooks

Code

function i18n_taxonomy_i18n_translation_set_info() {
  $info['taxonomy_term'] = array(
    'title' => t('Taxonomy term'),
    'class' => 'i18n_taxonomy_translation_set',
    'table' => 'taxonomy_term_data',
    'field' => 'i18n_tsid',
    'parent' => 'taxonomy_vocabulary',
    'placeholder' => '%i18n_taxonomy_translation_set',
    'list path' => 'admin/structure/taxonomy/%taxonomy_vocabulary_machine_name/list/sets',
    'edit path' => 'admin/structure/taxonomy/%taxonomy_vocabulary_machine_name/list/sets/edit/%i18n_taxonomy_translation_set',
    'delete path' => 'admin/structure/taxonomy/%taxonomy_vocabulary_machine_name/list/sets/delete/%i18n_taxonomy_translation_set',
    'page callback' => 'i18n_taxonomy_term_translation_page',
  );
  return $info;
}