You are here

public function TranslationString::isSource in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isSource()
  2. 10 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::isSource()

Checks whether the object is a source string.

Return value

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

Overrides StringInterface::isSource

File

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

Class

TranslationString
Defines the locale translation string object.

Namespace

Drupal\locale

Code

public function isSource() {
  return FALSE;
}