Search for string

  1. Search 7.x for string
  2. Search 9.5.x for string
  3. Search 8.9.x for string
  4. Search 10.3.x for string
  5. Other projects
Title Object type File name Summary
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.
PermissionsPerBundleTest::applyRecipeFromString function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Given a string of `recipe.yml` contents, applies it to the site.
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/tests/Drupal/TestTools/Random.php Generates a pseudo-random string of ASCII characters of codes 32 to 126.
Random::string function core/lib/Drupal/Component/Utility/Random.php Generates a random string of ASCII characters of codes 32 to 126.
Random::stringValidate function core/tests/Drupal/TestTools/Random.php Callback for random string validation.
RandomGeneratorTrait::randomString function core/tests/Drupal/Tests/RandomGeneratorTrait.php Generates a pseudo-random string of ASCII characters of codes 32 to 126.
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/KernelString/RawStringFormatterTest.php Tests the raw string formatter.
RawStringFormatterTest.php file core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::$bundle property core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::$display property core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::$entityType property core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::$modules property core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php Modules to install.
RawStringFormatterTest::renderEntityFields function core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php Renders fields of a given entity with a given display.
RawStringFormatterTest::setUp function core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php
RawStringFormatterTest::testStringFormatter function core/modules/field/tests/src/Kernel/KernelString/RawStringFormatterTest.php Tests string formatter output.
RecipeCommand::toPlainString function core/lib/Drupal/Core/Recipe/RecipeCommand.php Converts a stringable like TranslatableMarkup to a plain text string.
RemoveCheckToStringNodeVisitor class core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php Defines a TwigNodeVisitor that replaces CheckToStringNodes.
RemoveCheckToStringNodeVisitor.php file core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::enterNode function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::getPriority function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::leaveNode function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RenderArrayNonHtmlSubscriberTestController::rawString function core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php
RequiredModuleUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php
RequirementsException::getRequirementsString function core/modules/migrate/src/Exception/RequirementsException.php Get the requirements as a string.

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