function views_plugin_localization_core::export in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/views_plugin_localization_core.inc \views_plugin_localization_core::export()
Collect strings to be exported to code.
String identifiers are not supported so strings are anonymously in an array.
Parameters
$source: Full data for the string to be translated.
Overrides views_plugin_localization::export
File
- plugins/
views_plugin_localization_core.inc, line 85 - Contains the Drupal core localization plugin.
Class
- views_plugin_localization_core
- Localization plugin to pass translatable strings through t().
Code
function export($source) {
if (!empty($source['value'])) {
$this->export_strings[] = $source['value'];
}
}