Search for filter

  1. Search 7.x for filter
  2. Search 9.5.x for filter
  3. Search 10.3.x for filter
  4. Search 11.x for filter
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Filter class core/modules/jsonapi/src/Query/Filter.php Gathers information about the filter parameter.
Filter class core/modules/filter/src/Annotation/Filter.php Defines an filter annotation object.

All search results

Title Object type File name Summary
TestFilterIterator.php file core/modules/migrate/tests/src/Kernel/TestFilterIterator.php
TestFilterIterator::accept function core/modules/migrate/tests/src/Kernel/TestFilterIterator.php
TestMediaFilterController class core/modules/media/tests/modules/media_test_ckeditor/src/Controller/TestMediaFilterController.php Controller to allow testing of error handling in drupalmedia plugin.js.
TestMediaFilterController.php file core/modules/media/tests/modules/media_test_ckeditor/src/Controller/TestMediaFilterController.php
TestMediaFilterController::preview function core/modules/media/tests/modules/media_test_ckeditor/src/Controller/TestMediaFilterController.php Returns a HTML response containing a preview of the text after filtering.
TextCckTest::testProcessFilteredTextFieldValues function core/modules/text/tests/src/Unit/Migrate/TextCckTest.php @covers ::processCckFieldValues
TextCckTest::testProcessFilteredTextFieldValues function core/modules/text/tests/src/Unit/Plugin/migrate/cckfield/TextCckTest.php @covers ::processCckFieldValues
TextFieldLegacyTest::testProcessFilteredTextFieldValues function core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldLegacyTest.php @covers ::processFieldValues
@expectedDeprecation Deprecated in Drupal 8.6.0, to be removed before Drupal 9.0.0. Use defineValueProcessPipeline() instead. See https://www.drupal.org/node/2944598.
TextFieldTest::testFilteredTextValueProcessPipeline function core/modules/text/tests/src/Unit/Migrate/d6/TextFieldTest.php @covers ::defineValueProcessPipeline
TextFieldTest::testProcessFilteredTextFieldValues function core/modules/text/tests/src/Unit/Migrate/d6/TextFieldTest.php Calls the deprecated processFieldValues() method to test BC.
TextFieldTest::testProcessFilteredTextFieldValues function core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php @covers ::defineValueProcessPipeline
TextSummaryTest::testInvalidFilterFormat function core/modules/text/tests/src/Kernel/TextSummaryTest.php Test text_summary() returns an empty string without any error when called
with an invalid format.
TranslateFilterForm class core/modules/locale/src/Form/TranslateFilterForm.php Provides a filtered translation edit form.
TranslateFilterForm.php file core/modules/locale/src/Form/TranslateFilterForm.php
TranslateFilterForm::buildForm function core/modules/locale/src/Form/TranslateFilterForm.php Form constructor.
TranslateFilterForm::getFormId function core/modules/locale/src/Form/TranslateFilterForm.php Returns a unique string identifying the form.
TranslateFilterForm::resetForm function core/modules/locale/src/Form/TranslateFilterForm.php Provides a submit handler for the reset button.
TranslateFilterForm::submitForm function core/modules/locale/src/Form/TranslateFilterForm.php Form submission handler.
TranslateFormBase::$filterValues property core/modules/locale/src/Form/TranslateFormBase.php
TranslateFormBase::translateFilterLoadStrings function core/modules/locale/src/Form/TranslateFormBase.php Builds a string search query and returns an array of string objects.
TranslateFormBase::translateFilters function core/modules/locale/src/Form/TranslateFormBase.php Lists locale translation filters that can be applied.
TranslateFormBase::translateFilterValues function core/modules/locale/src/Form/TranslateFormBase.php Builds an array out of search criteria specified in request variables.
TwigExtension::escapeFilter function core/lib/Drupal/Core/Template/TwigExtension.php Overrides twig_escape_filter().
TwigExtension::getFilters function core/lib/Drupal/Core/Template/TwigExtension.php
TwigExtension::withoutFilter function core/lib/Drupal/Core/Template/TwigExtension.php Removes child elements from a copy of the original array.
TwigExtensionTest::testTwigExtensionFilter function core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php Tests that the Twig extension's filter produces expected output.
TwigExtensionTestController::testFilterRender function core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php Menu callback for testing Twig filters in a Twig template.
TwigFilterTest class core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php Tests Drupal's Twig filters.
TwigFilterTest.php file core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php
TwigFilterTest::$modules property core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php Modules to enable.
TwigFilterTest::testLegacyTwigWithoutFunction function core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php Test "twig_without" filter function.
TwigFilterTest::testTwigWithoutFilter function core/modules/system/tests/src/Kernel/Theme/TwigFilterTest.php Test Twig "without" filter.
twig_extension_test.filter.html.twig file core/modules/system/tests/modules/twig_extension_test/templates/twig_extension_test.filter.html.twig <div class="testfilter">
{{ message|testfilter }}
</div>
<div>
{{ safe_join_items|safe_join('<br/>') }}
</div>
twig_theme_test.filter.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.filter.html.twig <div><strong>No author:</strong> {{ quote|without('author') }}.</div>
<div><strong>Complete quote after without:</strong> {{ quote }}.</div>
<div><strong>Only author:</strong>…
TypedDataTest::testTypedDataListsFilter function core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php Tests the filter() method on typed data lists.
UpdateRegistry::filterOutInvokedUpdatesByModule function core/lib/Drupal/Core/Update/UpdateRegistry.php Filters out already executed update functions by module.
UpdateRegistryTest::testFilterOutInvokedUpdatesByModule function core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php @covers ::filterOutInvokedUpdatesByModule
UrlHelper::filterBadProtocol function core/lib/Drupal/Component/Utility/UrlHelper.php Processes an HTML attribute value and strips dangerous protocols from URLs.
UrlHelper::filterQueryParameters function core/lib/Drupal/Component/Utility/UrlHelper.php Filters a URL query parameter array to remove unwanted elements.
UrlHelperTest::providerTestFilterBadProtocol function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testTestFilterBadProtocol().
UrlHelperTest::providerTestFilterQueryParameters function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data to self::testFilterQueryParameters().
UrlHelperTest::testFilterBadProtocol function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests bad protocol filtering and escaping.
UrlHelperTest::testFilterQueryParameters function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests query filtering.
Users::$filters property core/modules/user/src/Plugin/views/wizard/Users.php Set default values for the filters.
UserTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/UserTest.php
ViewExecutable::$filter property core/modules/views/src/ViewExecutable.php Stores the filter handlers which are initialized on this view.
Views filter handler plugins group core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Plugins that handle views filtering.
views-ui-build-group-filter-form.html.twig file core/themes/stable/templates/admin/views-ui-build-group-filter-form.html.twig Theme override for Views UI build group filter form.
views-ui-build-group-filter-form.html.twig file core/modules/views_ui/templates/views-ui-build-group-filter-form.html.twig Default theme implementation for Views UI build group filter form.
views-ui-expose-filter-form.html.twig file core/modules/views_ui/templates/views-ui-expose-filter-form.html.twig Default theme implementation for exposed filter form.

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