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
FilterStringTest::testFilterStringGroupedExposedNotEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringGroupedExposedNotStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringGroupedExposedShorter function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringGroupedExposedStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringGroupedExposedWord function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringGroupedNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter with negated 'regular_expression' operator.
FilterStringTest::testFilterStringLonger function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringNot function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringNotEnds function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringNotEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringNotRegularExpression function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter handler with the negated 'regular_expression' operator.
FilterStringTest::testFilterStringNotStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringShorter function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::testFilterStringWord function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
FilterStringTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Returns the views data definition.
FilterUninstallValidator::setStringTranslation function core/modules/filter/src/ProxyClass/FilterUninstallValidator.php
FormAjaxSubscriberTest::$stringTranslation property core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php The mocked string translation.
FormattableMarkup::$string property core/lib/Drupal/Component/Render/FormattableMarkup.php The string containing placeholders.
FormattableMarkup::__toString function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns markup.
FormattableMarkupTest::testToString function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString
@covers ::jsonSerialize
FormattedDateDiff::$string property core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The actual formatted time difference.
FormattedDateDiff::getString function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php
FormBuilderTest::testBuildFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a class name based form ID.
FormBuilderTest::testBuildFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the buildForm() method with a string based form ID.
FormBuilderTest::testGetFormIdWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithClassString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a class name based form ID.
FormBuilderTest::testGetFormWithString function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getForm() method with a string based form ID.
ForumUninstallValidator::setStringTranslation function core/modules/forum/src/ProxyClass/ForumUninstallValidator.php
GeneratedLink::__toString function core/lib/Drupal/Core/GeneratedLink.php Returns markup.
GetTest::testTransformSourceString function core/modules/migrate/tests/src/Unit/process/GetTest.php Tests the Get plugin when source is a string.
GetTest::testTransformSourceStringAt function core/modules/migrate/tests/src/Unit/process/GetTest.php Tests the Get plugin when source is a string pointing to destination.
HandlerBase::breakString function core/modules/views/src/Plugin/views/HandlerBase.php Breaks x,y,z and x+y+z into an array.
HandlerTest::testBreakString function core/modules/views/tests/src/Functional/Handler/HandlerTest.php Tests the breakString method.
HelpPageOrderTest::$stringOrder property core/modules/help/tests/src/Functional/HelpPageOrderTest.php Strings to search for on admin/help, in order.
HelpPageReverseOrderTest::$stringOrder property core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php Strings to search for on admin/help, in order.
HtmlEscapedText::$string property core/lib/Drupal/Component/Render/HtmlEscapedText.php The string to escape.
HtmlEscapedText::__toString function core/lib/Drupal/Component/Render/HtmlEscapedText.php Returns markup.
HtmlEscapedTextTest::providerToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Data provider for testToString().
HtmlEscapedTextTest::testToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::__toString
@covers ::jsonSerialize
HTMLRestrictions::fromString function core/modules/ckeditor5/src/HTMLRestrictions.php Parses a string of HTML restrictions into a HTMLRestrictions value object.
HTMLRestrictions::toFilterHtmlAllowedTagsString function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the Drupal HTML filter's "allowed_html" representation.
HtmlToTextTest::stringToHtml function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Converts a string to its PHP source equivalent for display in test messages.
I18nQueryTrait::$i18nStringTable property core/modules/content_translation/src/Plugin/migrate/source/I18nQueryTrait.php The i18n string table name.
ImageTestBase::imageAttributesAsString function core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php Helper to format attributes.
Insert::__toString function core/modules/sqlite/src/Driver/Database/sqlite/Insert.php Implements PHP magic __toString method to convert the query to a string.
Insert::__toString function core/modules/mysql/src/Driver/Database/mysql/Insert.php Implements PHP magic __toString method to convert the query to a string.
Insert::__toString function core/modules/pgsql/src/Driver/Database/pgsql/Insert.php Implements PHP magic __toString method to convert the query to a string.
Insert::__toString function core/lib/Drupal/Core/Database/Query/Insert.php Implements PHP magic __toString method to convert the query to a string.
Inspector::assertAllStringable function core/lib/Drupal/Component/Assertion/Inspector.php Asserts all members are strings or objects with magic __toString() method.

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