Search for string

  1. Search 7.x for string
  2. Search 8.9.x for string
  3. Search 10.3.x for string
  4. Search 11.x for string
  5. Other projects
Title Object type File name Summary
MenuLinkTranslation::I18N_STRING_TABLE constant core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php Drupal 6 table names.
Merge::__toString function core/lib/Drupal/Core/Database/Query/Merge.php Implements PHP magic __toString method to convert the query to a string.
MigrateEntityContentBaseTest::testEntityWithStringId function core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php Tests creation of ID columns table with definitions taken from entity type.
MigrateExternalTranslatedTestSource::__toString function core/modules/migrate/tests/modules/migrate_external_translated_test/src/Plugin/migrate/source/MigrateExternalTranslatedTestSource.php Allows class to decide how it will react when it is treated like a string.
MigrateLookupTest::testLookupWithStringIds function core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php Tests a lookup with string source ids.
MigrateSourceInterface::__toString function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Allows class to decide how it will react when it is treated like a string.
MockTestConnection::$connectionString property core/modules/system/tests/src/Functional/FileTransfer/MockTestConnection.php
ModuleRequiredByThemesUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/ModuleRequiredByThemesUninstallValidator.php
ModuleRouteSubscriber::explodeString function core/lib/Drupal/Core/EventSubscriber/ModuleRouteSubscriber.php Explodes a string based on a separator.
ModuleVersion::createFromVersionString function core/modules/update/src/ModuleVersion.php Constructs a module version object from a version string.
ObjWithString class core/modules/migrate/tests/src/Unit/process/LogTest.php Test class with a __toString() method.
ObjWithString::__toString function core/modules/migrate/tests/src/Unit/process/LogTest.php Returns a string.
PasswordItemTest::testPreSaveExistingEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveExistingMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveNewEmptyString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PasswordItemTest::testPreSaveNewMultipleSpacesString function core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php @covers ::preSave
PermissionHandlerTest::$stringTranslation property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked string translation.
PluralTranslatableMarkup::$translatedString property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The already translated string.
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PoDatabaseReader::loadStrings function core/modules/locale/src/PoDatabaseReader.php Builds and executes a database query based on options set earlier.
PoDatabaseReader::readString function core/modules/locale/src/PoDatabaseReader.php Get the database result resource for the given language and options.
PoDatabaseWriter::importString function core/modules/locale/src/PoDatabaseWriter.php Imports one string into the database.
PoHeader::setFromString function core/lib/Drupal/Component/Gettext/PoHeader.php Populate internal values from a string.
PoHeader::__toString function core/lib/Drupal/Component/Gettext/PoHeader.php Generate a Gettext PO formatted header string based on data set earlier.
PoItem::formatString function core/lib/Drupal/Component/Gettext/PoItem.php Formats a string for output on multiple lines.
PoItem::__toString function core/lib/Drupal/Component/Gettext/PoItem.php Output the PoItem as a string.
PreviewFallbackInterface::getPreviewFallbackString function core/lib/Drupal/Core/Render/PreviewFallbackInterface.php Returns a string to be used as a fallback during preview.
Query::__toString function core/lib/Drupal/Core/Database/Query/Query.php Implements PHP magic __toString method to convert the query to a string.
Query::__toString function core/lib/Drupal/Core/Entity/Query/Sql/Query.php Implements the magic __toString method.
Random::$strings property core/lib/Drupal/Component/Utility/Random.php A list of unique strings generated by string().
Random::string function core/lib/Drupal/Component/Utility/Random.php Generates a random string of ASCII characters of codes 32 to 126.
RandomGeneratorTrait::randomString function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a pseudo-random string of ASCII characters of codes 32 to 126.
RandomGeneratorTrait::randomStringValidate function core/tests/Drupal/Tests/RandomGeneratorTrait.php Callback for random string validation.
RandomTest::$firstStringGenerated property core/tests/Drupal/Tests/Component/Utility/RandomTest.php The first random string passed to the test callback.
RandomTest::testRandomStringException function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests infinite loop prevention whilst generating random strings.
RandomTest::testRandomStringNonUnique function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string if uniqueness is not enforced.
RandomTest::testRandomStringUniqueness function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests unique random string generation.
RandomTest::testRandomStringValidator function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Tests random string validation callbacks.
RandomTest::_RandomStringValidate function core/tests/Drupal/Tests/Component/Utility/RandomTest.php Callback for random string validation.
RawStringFormatterTest class core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php Tests the raw string formatter.
RawStringFormatterTest.php file core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::$bundle property core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::$display property core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::$entityType property core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::$modules property core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php Modules to enable.
RawStringFormatterTest::renderEntityFields function core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php Renders fields of a given entity with a given display.
RawStringFormatterTest::setUp function core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
RawStringFormatterTest::testStringFormatter function core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php Tests string formatter output.
RenderArrayNonHtmlSubscriberTestController::rawString function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php

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