public function StringBase::getStorage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getStorage()
Gets the string storage.
Return value
\Drupal\locale\StringStorageInterface The storage used for this string.
Overrides StringInterface::getStorage
2 calls to StringBase::getStorage()
- StringBase::delete in core/
modules/ locale/ src/ StringBase.php - Deletes string object from storage.
- StringBase::save in core/
modules/ locale/ src/ StringBase.php - Saves string object to storage.
File
- core/
modules/ locale/ src/ StringBase.php, line 117 - Contains \Drupal\locale\StringBase.
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function getStorage() {
return isset($this->storage) ? $this->storage : NULL;
}