You are here

function finder_i18nstrings_map in Finder 7

Same name and namespace in other branches
  1. 6 modules/finder_i18nstrings/finder_i18nstrings.module \finder_i18nstrings_map()

Get a map of which fields are translatable.

1 call to finder_i18nstrings_map()
finder_i18nstrings_finderapi in modules/finder_i18nstrings/finder_i18nstrings.module
Implements hook_finderapi().

File

modules/finder_i18nstrings/finder_i18nstrings.module, line 135
The finder string translation module.

Code

function finder_i18nstrings_map($object) {
  $translatable_types = finder_i18nstrings_types();
  $map = array();
  $map = finder_i18nstrings_map_from_form($object, $translatable_types);

  // Allow modules to override the map - also see comments in the other funcs called from this one.
  drupal_alter('finder_i18nstrings_map', $map, $object, $translatable_types);
  return $map;
}