function StringInterface::setString
Same name and namespace in other branches
- 10 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setString()
- 11.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setString()
- 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::setString()
Sets the string contained in this object.
Parameters
string $string: String to set as value.
Return value
$this
File
-
core/
modules/ locale/ src/ StringInterface.php, line 62
Class
- StringInterface
- Defines the locale string interface.
Namespace
Drupal\localeCode
public function setString($string);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.