function views_plugin_localization::save
Same name in other branches
- 7.x-3.x plugins/views_plugin_localization.inc \views_plugin_localization::save()
Save string source for translation.
Parameters
$source: Full data for the string to be translated.
1 call to views_plugin_localization::save()
1 method overrides views_plugin_localization::save()
- views_plugin_localization_none::save in plugins/
views_plugin_localization_none.inc - Save a string for translation; not supported.
File
-
plugins/
views_plugin_localization.inc, line 70
Class
- views_plugin_localization
- The base plugin to handle localization of Views strings.
Code
function save($source) {
// Allow other modules to make changes to the string before saving
$source['pre_process'] = $this->invoke_translation_process($source, 'pre');
$this->save_string($source['value'], $source['keys'], isset($source['format']) ? $source['format'] : '');
}