Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
StringObject::__toString function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
StringSerializationTest class core/tests/Drupal/KernelTests/Core/DependencyInjection/StringSerializationTest.php Tests serialization of string services.
StringSerializationTest.php file core/tests/Drupal/KernelTests/Core/DependencyInjection/StringSerializationTest.php
StringSerializationTest::testSerializeString function core/tests/Drupal/KernelTests/Core/DependencyInjection/StringSerializationTest.php Tests that strings are not put into the container class mapping.
StringStorageException class core/modules/locale/src/StringStorageException.php Defines an exception thrown when storage operations fail.
StringStorageException.php file core/modules/locale/src/StringStorageException.php
StringStorageInterface interface core/modules/locale/src/StringStorageInterface.php Defines the locale string storage interface.
StringStorageInterface.php file core/modules/locale/src/StringStorageInterface.php
StringStorageInterface::countStrings function core/modules/locale/src/StringStorageInterface.php Counts source strings.
StringStorageInterface::countTranslations function core/modules/locale/src/StringStorageInterface.php Counts translations.
StringStorageInterface::createString function core/modules/locale/src/StringStorageInterface.php Creates a source string object bound to this storage but not saved.
StringStorageInterface::createTranslation function core/modules/locale/src/StringStorageInterface.php Creates a string translation object bound to this storage but not saved.
StringStorageInterface::delete function core/modules/locale/src/StringStorageInterface.php Delete string from storage.
StringStorageInterface::deleteStrings function core/modules/locale/src/StringStorageInterface.php Deletes source strings and translations using conditions.
StringStorageInterface::deleteTranslations function core/modules/locale/src/StringStorageInterface.php Deletes translations using conditions.
StringStorageInterface::findString function core/modules/locale/src/StringStorageInterface.php Loads a string source object, fast query.
StringStorageInterface::findTranslation function core/modules/locale/src/StringStorageInterface.php Loads a string translation object, fast query.
StringStorageInterface::getLocations function core/modules/locale/src/StringStorageInterface.php Loads string location information.
StringStorageInterface::getStrings function core/modules/locale/src/StringStorageInterface.php Loads multiple source string objects.
StringStorageInterface::getTranslations function core/modules/locale/src/StringStorageInterface.php Loads multiple string translation objects.
StringStorageInterface::save function core/modules/locale/src/StringStorageInterface.php Save string object to storage.
StringTextareaWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Plugin implementation of the 'string_textarea' widget.
StringTextareaWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php
StringTextareaWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Defines the default settings for this plugin.
StringTextareaWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Returns the form for a single field widget.
StringTextareaWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Returns a form to configure settings for the widget.
StringTextareaWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Returns a short summary for the current widget settings.
StringTextfieldWidget class core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Plugin implementation of the 'string_textfield' widget.
StringTextfieldWidget.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php
StringTextfieldWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Defines the default settings for this plugin.
StringTextfieldWidget::formElement function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Returns the form for a single field widget.
StringTextfieldWidget::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Returns a form to configure settings for the widget.
StringTextfieldWidget::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Returns a short summary for the current widget settings.
StringTranslationTrait trait core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface.
StringTranslationTrait.php file core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
StringTranslationTrait::$stringTranslation property core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php The string translation service.
StringTranslationTrait::formatPlural function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Gets the string translation service.
StringTranslationTrait::setStringTranslation function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Sets the string translation service to use.
StringTranslationTrait::t function core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php Translates a string to the current language or to a given language.
StringTranslationTraitTest class core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @coversDefaultClass \Drupal\Core\StringTranslation\StringTranslationTrait[[api-linebreak]]
@group StringTranslation
StringTranslationTraitTest.php file core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php
StringTranslationTraitTest::$reflection property core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php A reflection of self::$translation.
StringTranslationTraitTest::$translation property core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php The mock under test that uses StringTranslationTrait.
StringTranslationTraitTest::setUp function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php
StringTranslationTraitTest::testFormatPlural function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @covers ::formatPlural[[api-linebreak]]
StringTranslationTraitTest::testT function core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @covers ::t[[api-linebreak]]
string_translation service core/core.services.yml Drupal\Core\StringTranslation\TranslationManager
string_translator.custom_strings service core/core.services.yml Drupal\Core\StringTranslation\Translator\CustomStrings

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.