Search for string
- Search 7.x for string
- Search 9.5.x for string
- Search 8.9.x for string
- Search 10.3.x for string
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
StringTranslationTrait.php | file | core/ |
|
StringTranslationTrait::$stringTranslation | property | core/ |
The string translation service. |
StringTranslationTrait::formatPlural | function | core/ |
Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | function | core/ |
Returns the number of plurals supported by a given language. |
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::$testObject | property | core/ |
The object under test that uses StringTranslationTrait. |
StringTranslationTraitTest::setUp | function | core/ |
|
StringTranslationTraitTest::testFormatPlural | function | core/ |
@covers ::formatPlural |
StringTranslationTraitTest::testT | function | core/ |
@covers ::t |
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. |
StubUpsert::__toString | function | core/ |
Implements PHP magic __toString method to convert the query to 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. |
TestControllers::rejectsQueryStrings | function | core/ |
Rejects requests with query keys. |
TestEntityForm::$stringTranslation | property | core/ |
The string translation service. |
TestEntityHandlerBase::$stringTranslation | property | core/ |
The string translation service. |
TestMigrateExecutable::setStringTranslation | function | core/ |
Sets the string translation service. |
TestPathBasedBreadcrumbBuilder::setStringTranslation | function | core/ |
Sets the string translation service to use. |
TestRouteProvider::$stringTranslation | property | core/ |
The string translation service. |
TestTranslationManager::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
ToStringTrait | trait | core/ |
Wraps __toString in a trait to avoid some fatal errors. |
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. |
TransactionManagerBase::dumpStackItemsAsString | function | core/ |
Produces a string representation of the stack items. |
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/ |
|
TranslateFormBase::translateFilterLoadStrings | function | core/ |
Builds a string search query and returns an array of string objects. |
TranslationInterface::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
TranslationManager::getStringTranslation | function | core/ |
Retrieves English string to given language. |
TranslationManager::translateString | function | core/ |
Translates a TranslatableMarkup object to a string. |
TranslationStatusForm::createInfoString | function | core/ |
Provides debug info for projects in case translation files are not found. |
TranslationString | class | core/ |
Defines the locale translation string object. |
TranslationString.php | file | core/ |
|
TranslationString::$customized | property | core/ |
Integer indicating whether this string is customized. |
TranslationString::$isNew | property | core/ |
Boolean indicating whether the string object is new. |
Pagination
- Previous page
- Page 14
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.