You are here

public function i18n_string_textgroup_cached::string_remove in Internationalization 7

Remove string object.

Return value

SAVED_DELETED | FALSE (If the operation failed because no source)

Overrides i18n_string_textgroup_default::string_remove

File

i18n_string/i18n_string.inc, line 1519
API for internationalization strings

Class

i18n_string_textgroup_cached
Textgroup handler for i18n_string API which integrated persistent caching.

Code

public function string_remove($i18nstring, $options = array()) {

  // Flush persistent cache.
  cache_clear_all($i18nstring
    ->get_cid(), 'cache', TRUE);
  return parent::string_remove($i18nstring, $options);
}