Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TranslationString.php

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

$this The called object.

File

core/modules/locale/src/TranslationString.php, line 64

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal