Sets the string contained in this object.
Parameters
string $string:
String to set as value.
Return value
Drupal\locale\LocaleString
The called object.
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);