public function StringDatabaseStorage::createTranslation in Localization update 7.2
Implements StringStorageInterface::createTranslation().
Overrides StringStorageInterface::createTranslation
File
- includes/
locale/ StringDatabaseStorage.php, line 176 - Definition of StringDatabaseStorage.
Class
- StringDatabaseStorage
- Defines the locale string class.
Code
public function createTranslation($values = array()) {
return new TranslationString($values + array(
'storage' => $this,
'is_new' => TRUE,
));
}