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
DateTest::$stringTranslation property core/tests/Drupal/Tests/Core/Datetime/DateTest.php The mocked string translation.
Delete::__toString function core/lib/Drupal/Core/Database/Query/Delete.php Implements PHP magic __toString method to convert the query to a string.
Dependency::$constraintString property core/lib/Drupal/Core/Extension/Dependency.php The constraint string.
Dependency::createFromString function core/lib/Drupal/Core/Extension/Dependency.php Creates a new instance of this class from a dependency string.
Dependency::getConstraintString function core/lib/Drupal/Core/Extension/Dependency.php Gets constraint string from the dependency.
DependencyTest::providerCreateFromString function core/tests/Drupal/Tests/Core/Extension/DependencyTest.php Data provider for testCreateFromString.
DependencyTest::testCreateFromString function core/tests/Drupal/Tests/Core/Extension/DependencyTest.php @covers ::createFromString
@dataProvider providerCreateFromString
EmbeddedDataSource::__toString function core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php Allows class to decide how it will react when it is treated like a string.
EmptySource::__toString function core/modules/migrate/src/Plugin/migrate/source/EmptySource.php Allows class to decide how it will react when it is treated like a string.
EngineTwigTest::testTwigUrlToString function core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php Tests the magic url to string Twig functions.
EntityAdapter::getString function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php Returns a string representation of the data.
EntityAdapterUnitTest::testGetString function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getString
EntityFieldTest::getContainedStrings function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Gets all contained strings recursively.
EntityFormInterface::setStringTranslation function core/lib/Drupal/Core/Entity/EntityFormInterface.php Sets the string translation service for this form.
EntityQueryTest::testToString function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests __toString().
EntityReference::getString function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityReference.php Returns a string representation of the data.
EntityReferenceFieldTest::testReferencedEntitiesStringId function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Tests referencing entities with string IDs.
EntityReferenceItemTest::$entityStringId property core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php The test entity with a string ID.
EntityReferenceItemTest::testContentEntityReferenceItemWithStringId function core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php Tests referencing content entities with string IDs.
EntityResourceTestBase::castToString function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Transforms a normalization: casts all non-string types to strings.
EntitySerializationTest::testDenormalizeStringValue function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests normalizing/denormalizing using string values.
EntityTestDateonlyTest::$dateString property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php The ISO date string to use throughout the test.
EntityTestDateRangeTest::$dateString property core/modules/datetime_range/tests/src/Functional/EntityResource/EntityTest/EntityTestDateRangeTest.php The ISO date string to use throughout the test.
EntityTestDatetimeTest::$dateString property core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDatetimeTest.php The ISO date string to use throughout the test.
EntityTestStringId class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php Defines a test entity class with a string ID.
EntityTestStringId.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php
EntityTestStringId::baseFieldDefinitions function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestStringId.php
EntityTypeManager::$stringTranslation property core/lib/Drupal/Core/Entity/EntityTypeManager.php The string translation service.
EntityViewsDataTest::assertStringField function core/modules/views/tests/src/Kernel/Entity/EntityViewsDataTest.php Tests views data for a string field.
ExplodeTest::testExplodeWithNonString function core/modules/migrate/tests/src/Unit/process/ExplodeTest.php Tests explode fails properly on non-strings.
ExplodeTest::testExplodeWithStrictAndEmptyString function core/modules/migrate/tests/src/Unit/process/ExplodeTest.php Tests Explode return values with an empty string and strict check.
ExtensionVersion::createFromVersionString function core/lib/Drupal/Core/Extension/ExtensionVersion.php Constructs an extension version object from a version string.
ExtraFieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
FieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldHandlerInterface::useStringGroupBy function core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php Determines if this field can be grouped in the results.
FieldKernelTest::assertNotSubString function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Asserts that a string is not part of another string.
FieldKernelTest::assertSubString function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Asserts that a string is part of another string.
FieldPluginBase::useStringGroupBy function core/modules/views/src/Plugin/views/field/FieldPluginBase.php Determines if this field can be grouped in the results.
FieldUninstallValidator::setStringTranslation function core/modules/field/src/ProxyClass/FieldUninstallValidator.php
FieldWebTest::assertNotSubString function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Assertion helper which checks whether a string is not part of another string.
FieldWebTest::assertSubString function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Assertion helper which checks whether a string is part of another string.
FileEntityFormatterTest::testFormatterFileLinkWithQueryString function core/modules/file/tests/src/Kernel/Formatter/FileEntityFormatterTest.php Tests the file_link field formatter using a query string.
FileUrlGenerator::doGenerateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates an absolute web-accessible URL string.
FileUrlGenerator::generateString function core/lib/Drupal/Core/File/FileUrlGenerator.php Creates a root-relative web-accessible URL string.
FileUrlGeneratorInterface::generateAbsoluteString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates an absolute web-accessible URL string.
FileUrlGeneratorInterface::generateString function core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php Creates a root-relative web-accessible URL string.
FileUrlGeneratorTest::testGenerateAbsoluteStringMissingStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Tests missing stream handler.
FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper function core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php Tests missing stream handler.
FilterBooleanOperatorStringTest class core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php Tests core's BooleanOperatorString views filter handler.

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