You are here

public function StringInterface::setVersion in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setVersion()
  2. 10 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\locale

Code

public function setVersion($version);