SourceString::isSource

public SourceString::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/SourceString.php, line 16

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

1
2
3
public function isSource() {
  return isset($this->source);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.