public function StringBase::setStorage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::setStorage()
Sets the string storage.
Parameters
\Drupal\locale\StringStorageInterface $storage: The storage to use for this string.
Return value
$this
Overrides StringInterface::setStorage
File
- core/
modules/ locale/ src/ StringBase.php, line 124 - Contains \Drupal\locale\StringBase.
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function setStorage($storage) {
$this->storage = $storage;
return $this;
}