You are here

public function SourceString::isTranslation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 30
Contains \Drupal\locale\SourceString.

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

public function isTranslation() {
  return FALSE;
}