You are here

public function StringInterface::getString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/StringInterface.php \Drupal\locale\StringInterface::getString()

Gets plain string contained in this object.

Return value

string The string contained in this object.

3 calls to StringInterface::getString()
StringBase::delete in core/modules/locale/src/StringBase.php
Deletes string object from storage.
StringBase::getPlurals in core/modules/locale/src/StringBase.php
Splits string to work with plural values.
StringBase::save in core/modules/locale/src/StringBase.php
Saves string object to storage.
2 methods override StringInterface::getString()
SourceString::getString in core/modules/locale/src/SourceString.php
Gets plain string contained in this object.
TranslationString::getString in core/modules/locale/src/TranslationString.php
Gets plain string contained in this object.

File

core/modules/locale/src/StringInterface.php, line 57
Contains \Drupal\locale\StringInterface.

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function getString();