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
twig.loader.string service core/core.services.yml Drupal\Core\Template\Loader\StringLoader
TwigExtensionTest::testSafeStringEscaping function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php Tests the escaping of objects implementing MarkupInterface.
TwigExtensionTestString class core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigExtensionTestString::$string property core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigExtensionTestString::__construct function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigExtensionTestString::__toString function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigNodeTrans::compileString function core/lib/Drupal/Core/Template/TwigNodeTrans.php Extracts the text and tokens for the "trans" tag.
TwigPhpStorageCache::SUFFIX_SUBSTRING_LENGTH constant core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The maximum length for each part of the cache key suffix.
TwigThemeTestController::urlToStringRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders a URL to a string.
TwigTransTokenParser::checkTransString function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Ensure that any nodes that are parsed are only of allowed types.
twig_theme_test.url_to_string.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.url_to_string.html.twig <div>rendered url: {{ test_url }}</div>
TypedData::getString function core/lib/Drupal/Core/TypedData/TypedData.php Returns a string representation of the data.
TypedDataInterface::getString function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Returns a string representation of the data.
TypedDataStringBlock class core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php Implements a String TypedData contextual block plugin.
TypedDataStringBlock.php file core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
TypedDataStringBlock::getTitle function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/TypedDataStringBlock.php
UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Data provider for ::testEntityWithStringIdWithViolation().
UniqueFieldConstraintTest::testEntityWithStringId function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases where the validation passes for entities with string IDs.
UniqueFieldConstraintTest::testEntityWithStringIdWithViolation function core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php Tests cases when validation raises violations for entities with string IDs.
UnitTestCase::getStringTranslationStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub translation manager that just returns the passed string.
UnroutedUrlTest::testToString function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the toString() method.
Update::__toString function core/lib/Drupal/Core/Database/Query/Update.php Implements PHP magic __toString method to convert the query to a string.
UpdateContribTest::testNonStandardVersionStrings function core/modules/update/tests/src/Functional/UpdateContribTest.php Tests messages for invalid, empty and missing version strings.
UpdateRoot::__toString function core/modules/update/src/UpdateRoot.php Gets the root path under which projects are installed or updated.
Upsert::__toString function core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/modules/mysql/src/Driver/Database/mysql/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Url::toString function core/lib/Drupal/Core/Url.php Generates the string URL representation for this Url object.
Url::toUriString function core/lib/Drupal/Core/Url.php Generates a URI string that represents the data in the Url object.
UrlAlterTest::testUrlWithQueryString function core/tests/Drupal/KernelTests/Core/Path/UrlAlterTest.php
UrlTest::providerTestToUriStringForEntity function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing string entity URIs.
UrlTest::providerTestToUriStringForInternal function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing internal URIs.
UrlTest::providerTestToUriStringForRoute function core/tests/Drupal/Tests/Core/UrlTest.php Data provider for testing route: URIs.
UrlTest::testToString function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toString() method.
UrlTest::testToUriStringForEntity function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with entity: URIs.
UrlTest::testToUriStringForInternal function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with internal: URIs.
UrlTest::testToUriStringForRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toUriString() method with route: URIs.
UserLoginHttpTest::getLoginStatusUrlString function core/modules/user/tests/src/Functional/UserLoginHttpTest.php Gets the URL string for checking login for a given serialization format.
UuidFormatterTest::testUuidStringFormatter function core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php Tests string formatter output.
Variable::callableToString function core/lib/Drupal/Component/Utility/Variable.php Generates a human-readable name for a callable.
VariableTest::providerCallableToString function core/tests/Drupal/Tests/Component/Utility/VariableTest.php Data provider for testCallableToString().
VariableTest::testCallableToString function core/tests/Drupal/Tests/Component/Utility/VariableTest.php Tests generating a human-readable name for a callable.
views.view.test_options_list_argument_string.yml file core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml core/modules/options/tests/options_test_views/test_views/views.view.test_options_list_argument_string.yml
ViewsBlockBase::getPreviewFallbackString function core/modules/views/src/Plugin/Block/ViewsBlockBase.php
ViewsBlockTest::testGetPreviewFallbackString function core/modules/views/tests/src/Kernel/Plugin/ViewsBlockTest.php Tests that ViewsBlock::getPreviewFallbackString() produces the right value.
ViewsHandlerInterface::breakString function core/modules/views/src/Plugin/views/ViewsHandlerInterface.php Breaks x,y,z and x+y+z into an array.
ViewsSearchQuery::conditionReplaceString function core/modules/search/src/ViewsSearchQuery.php Replaces the original condition with a custom one from views recursively.

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