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
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
AssertMailTrait::assertMailString function core/lib/Drupal/Core/Test/AssertMailTrait.php Asserts that the most recently sent email message has the string in it.
asset.query_string service core/core.services.yml Drupal\Core\Asset\AssetQueryString
AssetQueryString class core/lib/Drupal/Core/Asset/AssetQueryString.php Stores a cache busting query string service for asset URLs.
AssetQueryString.php file core/lib/Drupal/Core/Asset/AssetQueryString.php
AssetQueryString::get function core/lib/Drupal/Core/Asset/AssetQueryString.php Gets the query string value.
AssetQueryString::reset function core/lib/Drupal/Core/Asset/AssetQueryString.php Resets the cache query string added to all CSS and JavaScript URLs.
AssetQueryString::STATE_KEY constant core/lib/Drupal/Core/Asset/AssetQueryString.php The key used for state.
AssetQueryString::__construct function core/lib/Drupal/Core/Asset/AssetQueryString.php Creates a new AssetQueryString instance.
AssetQueryStringInterface interface core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Provides a cache busting query string service for asset URLs.
AssetQueryStringInterface.php file core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php
AssetQueryStringInterface::get function core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Gets the query string value.
AssetQueryStringInterface::reset function core/lib/Drupal/Core/Asset/AssetQueryStringInterface.php Resets the cache query string added to all CSS and JavaScript URLs.
AssetQueryStringTest class core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php Tests the asset query string functionality.
AssetQueryStringTest.php file core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php
AssetQueryStringTest::testResetGet function core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php @covers ::get[[api-linebreak]]
@covers ::reset[[api-linebreak]]
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have query strings 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.
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.
BlockPluginTrait::getPreviewFallbackString function core/lib/Drupal/Core/Block/BlockPluginTrait.php
CacheContextsManagerTest::testAvailableContextStrings function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
ComponentNodeVisitor::emojiForString function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Chooses an emoji representative for the input string.
ComputedItemListTrait::getString function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.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[[api-linebreak]]
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 Tests from form string.
ConfigTest::testSafeStringHandling function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Tests safe string handling.
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests identifier quotes assert string.
Constraint::__toString function core/lib/Drupal/Component/Version/Constraint.php Gets the constraint as a string.

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