public function 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

drupal/core/modules/locale/lib/Drupal/locale/TranslationString.php, line 69
Definition of Drupal\locale\TranslationString.

Class

TranslationString
Defines the locale translation string object.

Namespace

Drupal\locale

Code

public function setCustomized($customized = TRUE) {
  $this->customized = $customized ? LOCALE_CUSTOMIZED : LOCALE_NOT_CUSTOMIZED;
  return $this;
}