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 11.x for string
  5. Other projects
Title Object type File name Summary
BooleanOperatorString.php file core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php
BooleanOperatorString::query function core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php Add this filter to the query.
BoxTranslation::I18N_STRING_TABLE constant core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php
BreakpointTest::$stringTranslation property core/modules/breakpoint/tests/src/Unit/BreakpointTest.php The mocked translator.
CacheContextsManagerTest::testAvailableContextStrings function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
CacheTest::testSubqueryStringCache function core/modules/views/tests/src/Kernel/Plugin/CacheTest.php Tests that Subqueries are cached as expected.
CKEditor5TestTrait::getEditorDataAsHtmlString function core/modules/ckeditor5/tests/src/Traits/CKEditor5TestTrait.php Gets CKEditor 5 instance data as a HTML string.
CommentLinkBuilderTest::$stringTranslation property core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php String translation mock.
CommentStringIdEntitiesTest class core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php Tests that comment fields cannot be added to entities with non-integer IDs.
CommentStringIdEntitiesTest.php file core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
CommentStringIdEntitiesTest::$modules property core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
CommentStringIdEntitiesTest::setUp function core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php
CommentStringIdEntitiesTest::testCommentFieldNonStringId function core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php Tests that comment fields cannot be added entities with non-integer IDs.
CommonTestController::jsAndCssQuerystring function core/modules/system/tests/modules/common_test/src/Controller/CommonTestController.php Adds a JavaScript file and a CSS file with a query string appended.
ComponentNodeVisitor::emojiForString function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Chooses an emoji representative for the input string.
ComponentNodeVisitor::emojiForString function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Chooses an emoji representative for the input string.
ComputedItemListTrait::getString function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php
ComputedString class core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php A computed property for test strings.
ComputedString.php file core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedString::$value property core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The data value.
ComputedString::getCacheContexts function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedString::getCacheMaxAge function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedString::getCacheTags function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedString::getCastedValue function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedString::getValue function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
ComputedTestCacheableString class core/modules/system/tests/modules/entity_test/src/Plugin/DataType/ComputedTestCacheableString.php The string data type with cacheability metadata.
ComputedTestCacheableString.php file core/modules/system/tests/modules/entity_test/src/Plugin/DataType/ComputedTestCacheableString.php
ComputedTestCacheableStringItem class core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ComputedTestCacheableStringItem.php Defines the 'string' entity field type with cacheability metadata.
ComputedTestCacheableStringItem.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ComputedTestCacheableStringItem.php
ComputedTestCacheableStringItem::propertyDefinitions function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ComputedTestCacheableStringItem.php
ComputedTestCacheableStringItemList class core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedTestCacheableStringItemList.php Item list class for computed cacheable string field.
ComputedTestCacheableStringItemList.php file core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedTestCacheableStringItemList.php
ComputedTestCacheableStringItemList::computeValue function core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedTestCacheableStringItemList.php
Condition::$stringVersion property core/lib/Drupal/Core/Database/Query/Condition.php Contains the string version of the Condition.
Condition::__toString function core/lib/Drupal/Core/Database/Query/Condition.php Implements PHP magic __toString method to convert the conditions to string.
ConfigBase::castSafeStrings function core/lib/Drupal/Core/Config/ConfigBase.php Casts any objects that implement MarkupInterface to string.
ConfigEntityAdapterTest::testGetString function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityAdapterTest.php @covers ::getString
ConfigEntityQueryTest::testStringIdConditions function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Tests ID conditions.
ConfigTarget::fromString function core/lib/Drupal/Core/Form/ConfigTarget.php Creates a ConfigTarget object.
ConfigTargetTest::testFromFormString function core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @covers ::fromForm
@covers ::fromString
ConfigTest::testSafeStringHandling function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::setData
@covers ::set
@covers ::initWithData
ConfigTranslationUiTest::testPluralConfigStrings function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests translation of plural strings with multiple plural forms in config.
ConfigTranslationUiTest::testPluralConfigStringsSourceElements function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php Tests plural source elements in configuration translation forms.
Connection::sqlFunctionSubstring function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the SUBSTRING() SQL function.
Connection::sqlFunctionSubstringIndex function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php SQLite compatibility implementation for the SUBSTRING_INDEX() SQL function.
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
Constraint::__toString function core/lib/Drupal/Component/Version/Constraint.php Gets the constraint as a string.
ContentEntity::__toString function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php Allows class to decide how it will react when it is treated like a string.
ContentUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php
ContextualFiltersStringTest class core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Test contextual filters with 'allow multiple values' setting for user roles.

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