public function StringInterface::setStorage in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setStorage()
Sets the string storage.
Parameters
\Drupal\locale\StringStorageInterface $storage: The storage to use for this string.
Return value
$this
1 method overrides StringInterface::setStorage()
- StringBase::setStorage in core/
modules/ locale/ src/ StringBase.php - Sets the string storage.
File
- core/
modules/ locale/ src/ StringInterface.php, line 101
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function setStorage($storage);