public function StringInterface::setString

Sets the string contained in this object.

Parameters

string $string: String to set as value.

Return value

Drupal\locale\LocaleString The called object.

1 call to StringInterface::setString()
StringBase::setPlurals in drupal/core/modules/locale/lib/Drupal/locale/StringBase.php
Implements Drupal\locale\StringInterface::setPlurals().
2 methods override StringInterface::setString()
SourceString::setString in drupal/core/modules/locale/lib/Drupal/locale/SourceString.php
Implements Drupal\locale\LocaleString::setString().
TranslationString::setString in drupal/core/modules/locale/lib/Drupal/locale/TranslationString.php
Implements Drupal\locale\StringInterface::setString().

File

drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 70
Definition of Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function setString($string);