function StringInterface::isSource

Same name in other branches
  1. 9 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::isSource()
  2. 8.9.x core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::isSource()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.