You are here

public function StringInterface::isSource in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::isSource()
  2. 9 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.

File

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

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function isSource();