You are here

public function StringInterface::isSource in Drupal 8

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

Checks whether the object is a source string.

Return value

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

2 methods override StringInterface::isSource()
SourceString::isSource in core/modules/locale/src/SourceString.php
Checks whether the object is a source string.
TranslationString::isSource in core/modules/locale/src/TranslationString.php
Checks whether the object is a source string.

File

core/modules/locale/src/StringInterface.php, line 117

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function isSource();