You are here

function i18n_translation_set::get_path_placeholders in Internationalization 7

Get placeholder values for path replacement

3 calls to i18n_translation_set::get_path_placeholders()
i18n_taxonomy_translation_set::get_path_placeholders in i18n_taxonomy/i18n_taxonomy.inc
Get placeholder values for path replacement
i18n_translation_set::get_delete_path in i18n_translation/i18n_translation.inc
Get delete path for this translation set
i18n_translation_set::get_edit_path in i18n_translation/i18n_translation.inc
Get edit path for this translation set
1 method overrides i18n_translation_set::get_path_placeholders()
i18n_taxonomy_translation_set::get_path_placeholders in i18n_taxonomy/i18n_taxonomy.inc
Get placeholder values for path replacement

File

i18n_translation/i18n_translation.inc, line 307
Internationalization (i18n) module - Translation set

Class

i18n_translation_set
@file Internationalization (i18n) module - Translation set

Code

function get_path_placeholders($op = 'list') {
  $values['%operation'] = $op;
  $values['%type'] = $this->type;
  $values['%i18n_translation_set'] = $this->tsid;
  if ($placeholder = $this
    ->get_info('placeholder')) {
    $values[$placeholder] = $this->tsid;
  }
  return $values;
}