You are here

public function StringInterface::setString in Localization update 7.2

Sets the string contained in this object.

Parameters

string $string: String to set as value.

Return value

StringInterface The called object.

2 methods override StringInterface::setString()
SourceString::setString in includes/locale/SourceString.php
Implements LocaleString::setString().
TranslationString::setString in includes/locale/TranslationString.php
Implements StringInterface::setString().

File

includes/locale/StringInterface.php, line 87
Definition of StringInterface.

Class

StringInterface
Defines the locale string interface.

Code

public function setString($string);