You are here

function i18nviews_plugin_localization_i18nstrings::delete in Internationalization Views 7.3

Same name and namespace in other branches
  1. 6.3 includes/i18nviews_plugin_localization_i18nstrings.inc \i18nviews_plugin_localization_i18nstrings::delete()

Delete a string.

Parameters

$source: Full data for the string to be translated.

Overrides views_plugin_localization::delete

File

includes/i18nviews_plugin_localization_i18nstrings.inc, line 54
Contains the i18nstrings localization plugin.

Class

i18nviews_plugin_localization_i18nstrings
Localization plugin to pass translatable strings through i18n_string().

Code

function delete($source) {
  i18n_string_remove($this
    ->stringid($source['keys']), $source['value']);
  return TRUE;
}