You are here

public function i18n_translation_set::save in Internationalization 7

Save translation set

Parameters

$save_translations: Whether to update linked objects so they belong to this set.

1 call to i18n_translation_set::save()
i18n_translation_set::update_delete in i18n_translation/i18n_translation.inc
Update a translation set or delete if empty.

File

i18n_translation/i18n_translation.inc, line 80
Internationalization (i18n) module - Translation set

Class

i18n_translation_set
@file Internationalization (i18n) module - Translation set

Code

public function save($save_translations = TRUE) {
  $this
    ->invoke_all('presave');
  return empty($this->tsid) ? $this
    ->insert($save_translations) : $this
    ->update($save_translations);
}