You are here

public function SourceString::isTranslation in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/src/SourceString.php \Drupal\locale\SourceString::isTranslation()

Checks whether the object is a translation string.

Return value

bool TRUE if the object is a translation string, FALSE otherwise.

Overrides StringInterface::isTranslation

File

core/modules/locale/src/SourceString.php, line 24

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

public function isTranslation() {
  return FALSE;
}