function StringInterface::getString
Same name in other branches
- 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getString()
- 10 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getString()
- 11.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getString()
Gets plain string contained in this object.
Return value
string The string contained in this object.
3 calls to StringInterface::getString()
- StringBase::delete in core/
modules/ locale/ src/ StringBase.php - Deletes string object from storage.
- StringBase::getPlurals in core/
modules/ locale/ src/ StringBase.php - Splits string to work with plural values.
- StringBase::save in core/
modules/ locale/ src/ StringBase.php - Saves string object to storage.
2 methods override StringInterface::getString()
- SourceString::getString in core/
modules/ locale/ src/ SourceString.php - Gets plain string contained in this object.
- TranslationString::getString in core/
modules/ locale/ src/ TranslationString.php - Gets plain string contained in this object.
File
-
core/
modules/ locale/ src/ StringInterface.php, line 52
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function getString();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.