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
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.
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::getCacheContexts function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache contexts associated with this object.
ComputedString::getCacheMaxAge function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The maximum age for which this object may be cached.
ComputedString::getCacheTags function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache tags associated with this object.
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 Gets the data value.
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 Defines field item properties.
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 Computes the values for an item list.
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.
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.
ContextualFiltersStringTest.php file core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php
ContextualFiltersStringTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php The theme to install as the default for testing.
ContextualFiltersStringTest::$modules property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Modules to enable.
ContextualFiltersStringTest::$role1 property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Role id of role 1.
ContextualFiltersStringTest::$role2 property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Role id of role 2.
ContextualFiltersStringTest::$testViews property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Views used by this test.
ContextualFiltersStringTest::setUp function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Sets up the test.
ContextualFiltersStringTest::testUserRoleContextualFilter function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Tests contextual filter for the user roles.
ContextualLinkDefaultTest::$stringTranslation property core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php The mocked translator.
CustomStrings class core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php String translator using overrides from variables.
CustomStrings.php file core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php
CustomStrings::$settings property core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php The settings read only object.
CustomStrings::getLanguage function core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php Retrieves translations for a given language.
CustomStrings::__construct function core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php Constructs a CustomStrings object.
DatabaseDriverUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php
DataReferenceBase::getString function core/lib/Drupal/Core/TypedData/DataReferenceBase.php Returns a string representation of the data.

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