public StringBase::setStorage($storage)
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 119
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\locale
Code
public function setStorage($storage) { $this->storage = $storage; return $this; }
Please login to continue.