public function StringInterface::setVersion in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
- 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
Sets the string version.
Parameters
string $version: Version identifier.
Return value
$this
File
- core/
modules/ locale/ src/ StringInterface.php, line 44
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function setVersion($version);