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
MappingTest::filterNumericFields function core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php Restricts the allowed fields to only numeric fields.
MediaEmbedFilterConfigurationUiTest class core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_filter_format_edit_form_validate
@group media
MediaEmbedFilterConfigurationUiTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php The theme to install as the default for testing.
MediaEmbedFilterConfigurationUiTest::providerTestValidations function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php Data provider for testValidationWhenAdding() and
testValidationWhenEditing().
MediaEmbedFilterConfigurationUiTest::setUp function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::setUpBeforeClass function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php
MediaEmbedFilterConfigurationUiTest::showHiddenFields function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php Show visually hidden fields.
MediaEmbedFilterConfigurationUiTest::testValidationWhenAdding function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_add_form_alter
@covers ::media_filter_format_edit_form_validate
@dataProvider providerTestValidations
MediaEmbedFilterConfigurationUiTest::testValidationWhenEditing function core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php @covers ::media_form_filter_format_edit_form_alter
@covers ::media_filter_format_edit_form_validate
@dataProvider providerTestValidations
MediaEmbedFilterDisabledIntegrationsTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php Tests that media embed disables certain integrations.
MediaEmbedFilterDisabledIntegrationsTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php
MediaEmbedFilterDisabledIntegrationsTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php Modules to enable.
MediaEmbedFilterDisabledIntegrationsTest::providerDisabledIntegrations function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php Data provider for testDisabledIntegrations().
MediaEmbedFilterDisabledIntegrationsTest::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php
MediaEmbedFilterDisabledIntegrationsTest::testDisabledIntegrations function core/modules/media/tests/src/Kernel/MediaEmbedFilterDisabledIntegrationsTest.php @covers ::renderMedia
@covers ::disableContextualLinks
@dataProvider providerDisabledIntegrations
MediaEmbedFilterTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @coversDefaultClass \Drupal\media\Plugin\Filter\MediaEmbed
@group media
MediaEmbedFilterTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaEmbedFilterTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Modules to enable.
MediaEmbedFilterTest::providerAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testAccessUnpublished().
MediaEmbedFilterTest::providerFilterIntegration function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testFilterIntegration().
MediaEmbedFilterTest::providerMissingEntityIndicator function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testMissingEntityIndicator().
MediaEmbedFilterTest::providerOverridesAltAndTitle function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testOverridesAltAndTitle().
MediaEmbedFilterTest::providerTestBasics function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Data provider for testBasics().
MediaEmbedFilterTest::testAccessUnpublished function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests that entity access is respected by embedding an unpublished entity.
MediaEmbedFilterTest::testBasics function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Ensures media entities are rendered correctly.
MediaEmbedFilterTest::testFilterIntegration function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @covers \Drupal\filter\Plugin\Filter\FilterAlign
@covers \Drupal\filter\Plugin\Filter\FilterCaption
@dataProvider providerFilterIntegration
MediaEmbedFilterTest::testMissingEntityIndicator function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests the indicator for missing entities.
MediaEmbedFilterTest::testOnlyDrupalMediaTagProcessed function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests that only <drupal-media> tags are processed.
MediaEmbedFilterTest::testOverridesAltAndTitle function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php @covers ::applyPerEmbedMediaOverrides
@dataProvider providerOverridesAltAndTitle
MediaEmbedFilterTest::testRecursionProtection function core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php Tests recursive rendering protection.
MediaEmbedFilterTestBase class core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Base class for Media Embed filter tests.
MediaEmbedFilterTestBase.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEmbedFilterTestBase::$embeddedEntity property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The sample Media entity to embed.
MediaEmbedFilterTestBase::$image property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The image file to use in tests.
MediaEmbedFilterTestBase::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Modules to enable.
MediaEmbedFilterTestBase::applyFilter function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Applies the `@Filter=media_embed` filter to text, pipes to raw content.
MediaEmbedFilterTestBase::assertHasAttributes function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Assert that the SimpleXMLElement object has the given attributes.
MediaEmbedFilterTestBase::createEmbedCode function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Gets an embed code with given attributes.
MediaEmbedFilterTestBase::EMBEDDED_ENTITY_UUID constant core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php The UUID to use for the embedded entity.
MediaEmbedFilterTestBase::processText function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Processes text through the provided filters.
MediaEmbedFilterTestBase::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEmbedFilterTranslationTest class core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Tests that media embeds are translated based on text (host entity) language.
MediaEmbedFilterTranslationTest.php file core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php
MediaEmbedFilterTranslationTest::$modules property core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Modules to enable.
MediaEmbedFilterTranslationTest::providerTranslationSituations function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Data provider for testTranslationSelection().
MediaEmbedFilterTranslationTest::setUp function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php
MediaEmbedFilterTranslationTest::testTranslationSelection function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Tests that the expected embedded media entity translation is selected.
MediaFilterController class core/modules/media/src/Controller/MediaFilterController.php Controller which renders a preview of the provided text.
MediaFilterController.php file core/modules/media/src/Controller/MediaFilterController.php

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