public function view::process_locale_strings in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 includes/view.inc \view::process_locale_strings()
Process strings for localization, deletion or export to code.
3 calls to view::process_locale_strings()
- view::delete_locale_strings in includes/
view.inc - Delete localized strings.
- view::export_locale_strings in includes/
view.inc - Export localized strings.
- view::save_locale_strings in includes/
view.inc - Send strings for localization.
File
- includes/
view.inc, line 2200 - views_objects Objects that represent a View or part of a view
Class
- view
- An object to contain all of the data to generate a view.
Code
public function process_locale_strings($op) {
// Ensure this view supports translation, we have a display, and we
// have a localization plugin.
// @todo Export does not init every handler.
if (($this
->is_translatable() || $op == 'export') && $this
->init_display() && $this
->init_localization()) {
$this->localization_plugin
->process_locale_strings($op);
}
}