You are here

public function StringStorageInterface::createTranslation in Localization update 7.2

Creates a string translation object bound to this storage but not saved.

Parameters

array $values: (optional) Array with initial values. Defaults to empty array.

Return value

\TranslationString New string translation object.

1 method overrides StringStorageInterface::createTranslation()
StringDatabaseStorage::createTranslation in includes/locale/StringDatabaseStorage.php
Implements StringStorageInterface::createTranslation().

File

includes/locale/StringStorageInterface.php, line 164
Contains \StringStorageInterface.

Class

StringStorageInterface
Defines the locale string storage interface.

Code

public function createTranslation($values = array());