Search for string

  1. Search 7.x for string
  2. Search 9.5.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
AggregatorTitleTest::testStringFormatter function core/modules/aggregator/tests/src/Kernel/AggregatorTitleTest.php Tests the formatter output.
AjaxFormCacheTest::testQueryString function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php Tests AJAX forms on pages with a query string.
AnnotationWithAttributes::$arrayOfStrings property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::$string property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getArrayOfStrings function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithAttributes::getString function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php
AnnotationWithConstants::STRING constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php
AnnotationWithVarType::$arrayOfStrings property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php
AnnotationWithVarType::$string property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php
ArgumentStringTest class core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php Tests the core Drupal\views\Plugin\views\argument\StringArgument handler.
ArgumentStringTest.php file core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php
ArgumentStringTest::$modules property core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php Modules to enable.
ArgumentStringTest::$testViews property core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php Views to be enabled.
ArgumentStringTest::testGlossary function core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php Tests the glossary feature.
ArrayBuildTest::testStringInput function core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php Tests string input.
AssertHelperTrait::castSafeStrings function core/tests/Drupal/Tests/AssertHelperTrait.php Casts MarkupInterface objects into strings.
AssertHelperTraitTest::providerCastSafeStrings function core/tests/Drupal/Tests/AssertHelperTraitTest.php
AssertHelperTraitTest::testCastSafeStrings function core/tests/Drupal/Tests/AssertHelperTraitTest.php @covers ::castSafeStrings
@dataProvider providerCastSafeStrings
AssertMailTrait::assertMailString function core/lib/Drupal/Core/Test/AssertMailTrait.php Asserts that the most recently sent email message has the string in it.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have querystrings attached get added right.
AttachedAssetsTest::testVersionQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript versioning.
Attribute::__toString function core/lib/Drupal/Core/Template/Attribute.php Implements the magic __toString() method.
AttributeArray::__toString function core/lib/Drupal/Core/Template/AttributeArray.php Implements the magic __toString() method.
AttributeBoolean::__toString function core/lib/Drupal/Core/Template/AttributeBoolean.php Implements the magic __toString() method.
AttributeString class core/lib/Drupal/Core/Template/AttributeString.php A class that represents most standard HTML attributes.
AttributeString.php file core/lib/Drupal/Core/Template/AttributeString.php
AttributeString::__toString function core/lib/Drupal/Core/Template/AttributeString.php Implements the magic __toString() method.
AttributeValueBase::__toString function core/lib/Drupal/Core/Template/AttributeValueBase.php Implements the magic __toString() method.
AuditResult::__toString function core/modules/migrate/src/Audit/AuditResult.php Returns the reasons the migration passed or failed, as a string.
BasicStringFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php Plugin implementation of the 'basic_string' formatter.
BasicStringFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php
BasicStringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BasicStringFormatter.php Builds a renderable array for a field value.
BinaryData::getString function core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php Returns a string representation of the data.
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockCustomTranslation::I18N_STRING_TABLE constant core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
BlockPluginTrait::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BookUninstallValidator::setStringTranslation function core/modules/book/src/ProxyClass/BookUninstallValidator.php
BooleanOperatorString class core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php Simple filter to handle matching of boolean values.
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.
color_valid_hexadecimal_string function core/modules/color/color.module Determines if a hexadecimal CSS color string is valid.
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 Modules to install.
CommentStringIdEntitiesTest::setUp function core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php

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