function finder_i18nstrings_types in Finder 7
Same name and namespace in other branches
- 6 modules/finder_i18nstrings/finder_i18nstrings.module \finder_i18nstrings_types()
Get an arrray of form element types that are translatable.
1 call to finder_i18nstrings_types()
- finder_i18nstrings_map in modules/
finder_i18nstrings/ finder_i18nstrings.module - Get a map of which fields are translatable.
File
- modules/
finder_i18nstrings/ finder_i18nstrings.module, line 123 - The finder string translation module.
Code
function finder_i18nstrings_types() {
$translatable_types = array(
'textfield',
'textarea',
);
// Allow modules to add form element types that are translatable.
// Set $translatable_types to empty in order to skip the default processing
// and supply your own map in the map alter hook.
drupal_alter('finder_i18nstrings_types', $translatable_types);
return $translatable_types;
}