You are here

function openlayers_i18n_string_remove in Openlayers 7.3

Wrapper to remove source and translations for user defined string.

Though for most strings the 'name' or 'string id' uniquely identifies that string, there are some exceptions (like profile categories) for which we need to use the source string itself as a search key.

Parameters

string $name: String name.

string $string: Optional source string (string in default language).

array $options: Array of string properties to remove.

Return value

mixed Same return as from i18n_string_remove()

See also

i18n_string_remove()

1 call to openlayers_i18n_string_remove()
LayerSwitcher::i18nStringsRefresh in src/Plugin/Control/LayerSwitcher/LayerSwitcher.php
Refresh string translations.

File

./openlayers.module, line 184
Openlayers module.

Code

function openlayers_i18n_string_remove($name, $string = NULL, $options = array()) {
  if (module_exists('i18n_string')) {
    return i18n_string_remove($name, $string, $options);
  }
}