You are here

protected function i18n_object_wrapper::get_placeholders in Internationalization 7

Get menu placehoders for object

1 call to i18n_object_wrapper::get_placeholders()
i18n_object_wrapper::path_replace in ./i18n_object.inc
Replace path with placeholders

File

./i18n_object.inc, line 107
i18n Object Class

Class

i18n_object_wrapper
Object wrapper

Code

protected function get_placeholders() {
  $placeholders = $this
    ->get_info('placeholders', array());
  foreach ($placeholders as $name => $field) {
    $placeholders[$name] = $this
      ->get_field($field);
  }
  return $placeholders;
}