SourceString::getString

public SourceString::getString()

Gets plain string contained in this object.

Return value

string The string contained in this object.

Overrides StringInterface::getString

File

core/modules/locale/src/SourceString.php, line 30

Class

SourceString
Defines the locale source string object.

Namespace

Drupal\locale

Code

public function getString() {
  return isset($this->source) ? $this->source : '';
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.