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
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.
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.
RequirementsExceptionTest::testGetExceptionString function core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php @covers ::getRequirementsString
@dataProvider getRequirementsProvider
sample_lookup_migration_string_ids.yml file core/modules/migrate/tests/modules/migrate_lookup_test/migrations/sample_lookup_migration_string_ids.yml core/modules/migrate/tests/modules/migrate_lookup_test/migrations/sample_lookup_migration_string_ids.yml
Schema::$mysqlStringTypes property core/modules/mysql/src/Driver/Database/mysql/Schema.php List of MySQL string types.
Select::__toString function core/lib/Drupal/Core/Database/Query/Select.php Implements PHP magic __toString method to convert the query to a string.
SelectExtender::__toString function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a string representation of how the query will be executed in SQL.
SelectInterface::__toString function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a string representation of how the query will be executed in SQL.
SerializedColumnNormalizerTrait::checkForSerializedStrings function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if there is a serialized string for a column.
SerializedColumnNormalizerTrait::dataHasStringForSerializeColumn function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if the data contains string value for serialize column.
serializer.normalizer.safe_string service core/modules/serialization/serialization.services.yml Drupal\serialization\Normalizer\MarkupNormalizer
serializer.normalizer.string.jsonapi_test_data_type service core/modules/jsonapi/tests/modules/jsonapi_test_data_type/jsonapi_test_data_type.services.yml Drupal\jsonapi_test_data_type\Normalizer\StringNormalizer
serializer.normalizer.string.jsonapi_test_field_type service core/modules/jsonapi/tests/modules/jsonapi_test_field_type/jsonapi_test_field_type.services.yml Drupal\jsonapi_test_field_type\Normalizer\StringNormalizer
Sort::expandFieldString function core/modules/jsonapi/src/Query/Sort.php Expands a simple string sort into a more expressive sort that we can use.

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