function StringBase::getStorage
Same name in other branches
- 9 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getStorage()
- 8.9.x core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getStorage()
- 10 core/modules/locale/src/StringBase.php \Drupal\locale\StringBase::getStorage()
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 114
Class
- StringBase
- Defines the locale string base class.
Namespace
Drupal\localeCode
public function getStorage() {
return $this->storage ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.