function SourceString::setString
Sets the string contained in this object.
Parameters
string $string: String to set as value.
Return value
$this
Overrides StringInterface::setString
File
- 
              core/modules/ locale/ src/ SourceString.php, line 38 
Class
- SourceString
- Defines the locale source string object.
Namespace
Drupal\localeCode
public function setString($string) {
  $this->source = $string;
  return $this;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
