You are here

public function StringMongoDBStorage::createTranslation in MongoDB 8

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

\Drupal\locale\TranslationString New string translation object.

Overrides StringStorageInterface::createTranslation

File

mongodb_locale/src/StringStorage.php, line 351

Class

StringMongoDBStorage

Namespace

Drupal\mongodb_locale

Code

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

  // TODO: Implement createTranslation() method.
}