Search for string
- Search 7.x for string
- Search 9.5.x for string
- Search 10.3.x for string
- Search 11.x for string
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
StringTranslationTrait::getStringTranslation | function | core/ |
Gets the string translation service. |
StringTranslationTrait::setStringTranslation | function | core/ |
Sets the string translation service to use. |
StringTranslationTrait::t | function | core/ |
Translates a string to the current language or to a given language. |
StringTranslationTraitTest | class | core/ |
@coversDefaultClass \Drupal\Core\StringTranslation\StringTranslationTrait @group StringTranslation |
StringTranslationTraitTest.php | file | core/ |
|
StringTranslationTraitTest::$reflection | property | core/ |
A reflection of self::$translation. |
StringTranslationTraitTest::$translation | property | core/ |
The mock under test that uses StringTranslationTrait. |
StringTranslationTraitTest::setUp | function | core/ |
|
StringTranslationTraitTest::testFormatPlural | function | core/ |
@covers ::formatPlural |
StringTranslationTraitTest::testT | function | core/ |
@covers ::t |
string_translation | service | core/ |
Drupal\Core\StringTranslation\TranslationManager |
string_translator.custom_strings | service | core/ |
Drupal\Core\StringTranslation\Translator\CustomStrings |
string_translator.locale.lookup | service | core/ |
Drupal\locale\LocaleTranslation |
StubSourcePlugin::__toString | function | core/ |
Allows class to decide how it will react when it is treated like a string. |
SubstrTest::testLengthIsString | function | core/ |
Tests that the length parameter is an integer. |
SubstrTest::testStartIsString | function | core/ |
Tests that the start parameter is an integer. |
TableSelectTest::testProcessTableselectWithStringTitle | function | core/ |
@covers ::processTableselect |
Tasks::checkStandardConformingStrings | function | core/ |
Ensures standard_conforming_strings setting is 'on'. |
Tasks::checkStandardConformingStringsSuccess | function | core/ |
Verifies the standard_conforming_strings setting. |
TestBaseTest::providerRandomStringValidate | function | core/ |
Provides data for the random string validation test. |
TestBaseTest::testRandomString | function | core/ |
@covers ::randomString @dataProvider providerRandomItems |
TestBaseTest::testRandomStringValidate | function | core/ |
@covers ::randomStringValidate @dataProvider providerRandomStringValidate |
TestCompatibilityTrait::assertIsNotString | function | core/ |
Provides forward-compatibility for assertIsNotString(). |
TestCompatibilityTrait::assertIsNotString | function | core/ |
Provides forward-compatibility for assertIsNotString(). |
TestCompatibilityTrait::assertIsString | function | core/ |
Provides forward-compatibility for assertIsString(). |
TestCompatibilityTrait::assertIsString | function | core/ |
Provides forward-compatibility for assertIsString(). |
TestCompatibilityTrait::assertStringContainsString | function | core/ |
Forward compatibility for assertStringContainsString. |
TestCompatibilityTrait::assertStringContainsString | function | core/ |
Forward compatibility for assertStringContainsString. |
TestCompatibilityTrait::assertStringContainsStringIgnoringCase | function | core/ |
Forward compatibility for assertStringContainsStringIgnoringCase. |
TestCompatibilityTrait::assertStringContainsStringIgnoringCase | function | core/ |
Forward compatibility for assertStringContainsStringIgnoringCase. |
TestCompatibilityTrait::assertStringNotContainsString | function | core/ |
Forward compatibility for assertStringNotContainsString. |
TestCompatibilityTrait::assertStringNotContainsString | function | core/ |
Forward compatibility for assertStringNotContainsString. |
TestCompatibilityTrait::assertStringNotContainsStringIgnoringCase | function | core/ |
Forward compatibility for assertStringNotContainsStringIgnoringCase. |
TestCompatibilityTrait::assertStringNotContainsStringIgnoringCase | function | core/ |
Forward compatibility for assertStringNotContainsStringIgnoringCase. |
TestMigrateExecutable::setStringTranslation | function | core/ |
Sets the string translation service. |
TestPathBasedBreadcrumbBuilder::setStringTranslation | function | core/ |
Sets the string translation service to use. |
TestTranslationManager::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
TextWrapper::__toString | function | core/ |
Magic method |
ToStringTrait | trait | core/ |
Wraps __toString in a trait to avoid some fatals. |
ToStringTrait.php | file | core/ |
|
ToStringTrait::render | function | core/ |
Renders the object as a string. |
ToStringTrait::_die | function | core/ |
For test purposes, wrap die() in an overridable method. |
ToStringTrait::__toString | function | core/ |
Implements the magic __toString() method. |
TranslatableMarkup::$stringTranslation | property | core/ |
The string translation service. |
TranslatableMarkup::getStringTranslation | function | core/ |
Gets the string translation service. |
TranslatableMarkup::getUntranslatedString | function | core/ |
Gets the untranslated string value stored in this translated string. |
TranslatableMarkupTest::testIsStringAssertion | function | core/ |
@covers ::__construct |
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup | function | core/ |
@covers ::__construct |
TranslatableMarkupTest::testToString | function | core/ |
Tests that errors are correctly handled when a __toString() fails. |
TranslatedViewTest::testTranslatedStrings | function | core/ |
Pagination
- Previous page
- Page 13
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.