function SourceString::setString
Same name in other branches
- 9 core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::setString()
- 8.9.x core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::setString()
- 11.x core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::setString()
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.