You are here

public function TranslationString::setString in Localization update 7.2

Implements StringInterface::setString().

Overrides StringInterface::setString

File

includes/locale/TranslationString.php, line 97
Definition of TranslationString.

Class

TranslationString
Defines the locale translation string object.

Code

public function setString($string) {
  $this->translation = $string;
  return $this;
}