Sets the string storage.
Parameters
Drupal\locale\StringStorageInterface $storage:
The storage to use for this string.
Return value
Drupal\locale\LocaleString
The called object.
File
- drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 110
- Definition of Drupal\locale\StringInterface.
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\locale
Code
public function setStorage($storage);