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::testFilterStringEnds function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by string using the "ends with" operator.
FilterStringTest::testFilterStringEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter with the 'equal' operator.
FilterStringTest::testFilterStringGroupedExposedContains function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped, exposed filtering with contains operator.
FilterStringTest::testFilterStringGroupedExposedEmpty function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "empty" operator.
FilterStringTest::testFilterStringGroupedExposedEnds function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "ends with" operator.
FilterStringTest::testFilterStringGroupedExposedEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Returns a set of grouped exposed filters.
FilterStringTest::testFilterStringGroupedExposedLonger function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "longer than" operator.
FilterStringTest::testFilterStringGroupedExposedNot function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "does not contain" operator.
FilterStringTest::testFilterStringGroupedExposedNotEnds function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "does not end with" operator.
FilterStringTest::testFilterStringGroupedExposedNotEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped, exposed filtering with not equal operator.
FilterStringTest::testFilterStringGroupedExposedNotStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "does not start with" operator.
FilterStringTest::testFilterStringGroupedExposedShorter function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "shorter than" operator.
FilterStringTest::testFilterStringGroupedExposedStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with the "starts with" operator.
FilterStringTest::testFilterStringGroupedExposedWord function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests grouped and exposed filters with word-based filtering.
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 Tests filtering by string using the "longer than" operator.
FilterStringTest::testFilterStringNot function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by string using the "does not contain" operator.
FilterStringTest::testFilterStringNotEnds function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by string using the "does not end with" operator.
FilterStringTest::testFilterStringNotEqual function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests the string filter with the 'not equal' operator.
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 Tests filtering by string using the "does not start with" operator.
FilterStringTest::testFilterStringShorter function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by string using the "shorter than" operator.
FilterStringTest::testFilterStringStarts function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by string using the "starts with" operator.
FilterStringTest::testFilterStringWord function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Tests filtering by a word in the "description" field.
FilterStringTest::viewsData function core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php Defines Views data for the custom entity.
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.

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