Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StringInterface.php

function 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 52

Class

StringInterface
Defines the locale string interface.

Namespace

Drupal\locale

Code

public function getString();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal