You are here

function i18n_taxonomy_translation_set::get_path_placeholders in Internationalization 7

Get placeholder values for path replacement

Overrides i18n_translation_set::get_path_placeholders

File

i18n_taxonomy/i18n_taxonomy.inc, line 21
Internationalization (i18n) module - Translation set

Class

i18n_taxonomy_translation_set
@file Internationalization (i18n) module - Translation set

Code

function get_path_placeholders($op = 'list') {
  $values = parent::get_path_placeholders($op);
  if (!empty($this->bundle)) {
    $values['%taxonomy_vocabulary_machine_name'] = $this->bundle;
  }
  return $values;
}