public function views_plugin_localization_core::export in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.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
array $source: Full data for the string to be translated.
Overrides views_plugin_localization::export
File
- plugins/
views_plugin_localization_core.inc, line 86 - Definition of views_plugin_localization_core.
Class
- views_plugin_localization_core
- Localization plugin to pass translatable strings through t().
Code
public function export($source) {
if (!empty($source['value'])) {
$this->export_strings[] = $source['value'];
}
}