function StringStorageInterface::createString
Same name in other branches
- 9 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::createString()
- 8.9.x core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::createString()
- 11.x core/modules/locale/src/StringStorageInterface.php \Drupal\locale\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.
File
-
core/
modules/ locale/ src/ StringStorageInterface.php, line 167
Class
- StringStorageInterface
- Defines the locale string storage interface.
Namespace
Drupal\localeCode
public function createString($values = []);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.