public function TranslationString::setCustomized in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::setCustomized()
 
Sets the string as customized / not customized.
Parameters
bool $customized: (optional) Whether the string is customized or not. Defaults to TRUE.
Return value
\Drupal\locale\TranslationString The called object.
File
- core/
modules/ locale/ src/ TranslationString.php, line 69  - Contains \Drupal\locale\TranslationString.
 
Class
- TranslationString
 - Defines the locale translation string object.
 
Namespace
Drupal\localeCode
public function setCustomized($customized = TRUE) {
  $this->customized = $customized ? LOCALE_CUSTOMIZED : LOCALE_NOT_CUSTOMIZED;
  return $this;
}