Search for string
- Search 7.x for string
- Search 9.5.x for string
- Search 8.9.x for string
- Search 11.x for string
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
StringTextfieldWidget.php | file | core/ |
|
StringTextfieldWidget::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
StringTextfieldWidget::formElement | function | core/ |
Returns the form for a single field widget. |
StringTextfieldWidget::settingsForm | function | core/ |
Returns a form to configure settings for the widget. |
StringTextfieldWidget::settingsSummary | function | core/ |
Returns a short summary for the current widget settings. |
StringTranslationTrait | trait | core/ |
Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. |
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_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. |
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. |
system_post_update_remove_asset_query_string | function | core/ |
Remove redundant asset query string state. |
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/ |
|
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/ |
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.