function StringInterface::setVersion
Same name in other branches
- 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
- 10 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
- 11.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
Sets the string version.
Parameters
string $version: Version identifier.
Return value
$this
1 method overrides StringInterface::setVersion()
- StringBase::setVersion in core/
modules/ locale/ src/ StringBase.php - Sets the string version.
File
-
core/
modules/ locale/ src/ StringInterface.php, line 44
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function setVersion($version);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.