StringStorageInterface::createTranslation

public StringStorageInterface::createTranslation($values = array())

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.

File

core/modules/locale/src/StringStorageInterface.php, line 178

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function createTranslation($values = array());
doc_Drupal
2016-10-29 09:45:16
Comments
Leave a Comment

Please login to continue.