public function StringInterface::isTranslation

Checks whether the object is a translation string.

Return value

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

2 methods override StringInterface::isTranslation()
SourceString::isTranslation in drupal/core/modules/locale/lib/Drupal/locale/SourceString.php
Implements Drupal\locale\StringInterface::isTranslation().
TranslationString::isTranslation in drupal/core/modules/locale/lib/Drupal/locale/TranslationString.php
Implements Drupal\locale\StringInterface::isTranslation().

File

drupal/core/modules/locale/lib/Drupal/locale/StringInterface.php, line 134
Definition of Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function isTranslation();