public function StringStorageInterface::createString

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

Parameters

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

Return value

\Drupal\locale\SourceString New source string object.

1 method overrides StringStorageInterface::createString()

File

drupal/core/modules/locale/lib/Drupal/locale/StringStorageInterface.php, line 172
Contains \Drupal\locale\StringStorageInterface.

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

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