Search for accept

  1. Search 7.x for accept
  2. Search 9.5.x for accept
  3. Search 8.9.x for accept
  4. Search 11.x for accept
  5. Other projects
Title Object type File name Summary
AcceptHeaderMatcher class core/modules/system/tests/modules/accept_header_routing_test/src/Routing/AcceptHeaderMatcher.php Filters routes based on the media type specified in the HTTP Accept headers.
AcceptHeaderMatcher.php file core/modules/system/tests/modules/accept_header_routing_test/src/Routing/AcceptHeaderMatcher.php
AcceptHeaderMatcher::filter function core/modules/system/tests/modules/accept_header_routing_test/src/Routing/AcceptHeaderMatcher.php Filters the route collection against a request.
AcceptHeaderMatcherTest class core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php Confirm that the mime types partial matcher is functioning properly.
AcceptHeaderMatcherTest.php file core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
AcceptHeaderMatcherTest::$fixtures property core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php A collection of shared fixture data for tests.
AcceptHeaderMatcherTest::$matcher property core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php The matcher object that is going to be tested.
AcceptHeaderMatcherTest::acceptFilterProvider function core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php Provides data for the Accept header filtering test.
AcceptHeaderMatcherTest::setUp function core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
AcceptHeaderMatcherTest::testAcceptFiltering function core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php Tests that requests using Accept headers get filtered correctly.
AcceptHeaderMatcherTest::testNoRouteFound function core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php Confirms that the AcceptHeaderMatcher throws an exception for no-route.
AcceptHeaderMiddleware class core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php Example implementation of "accept header"-based content negotiation.
AcceptHeaderMiddleware.php file core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php
AcceptHeaderMiddleware::$app property core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php The app kernel.
AcceptHeaderMiddleware::handle function core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php
AcceptHeaderMiddleware::__construct function core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php Constructs a new AcceptHeaderMiddleware instance.
AcceptHeaderRoutingTestServiceProvider class core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php Service provider for the accept_header_routing_test module.
AcceptHeaderRoutingTestServiceProvider.php file core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php
AcceptHeaderRoutingTestServiceProvider::alter function core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php Modifies existing service definitions.
accept_header_matcher service core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.services.yml Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher
accept_header_routing_test.info.yml file core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.info.yml
accept_header_routing_test.services.yml file core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.services.yml core/modules/system/tests/modules/accept_header_routing_test/accept_header_routing_test.services.yml
BooleanOperator::$accept_null property core/modules/views/src/Plugin/views/filter/BooleanOperator.php
CacheableNotAcceptableHttpException class core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php A cacheable NotAcceptableHttpException.
CacheableNotAcceptableHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
CacheableNotAcceptableHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php
ContentNegotiationTest::testBogusAcceptHeader function core/modules/system/tests/src/Functional/DrupalKernel/ContentNegotiationTest.php Verifies HTML responses for bogus Accept headers.
Date::acceptExposedInput function core/modules/views/src/Plugin/views/filter/Date.php Do some minor translation of the exposed input.
DisplayPluginBase::acceptAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Determines whether this display can use attachments.
DisplayPluginInterface::acceptAttachments function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Determines whether this display can use attachments.
DocParserTest::testAnnotationDontAcceptSingleQuotes function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
FilterPluginBase::acceptExposedInput function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Determines if the input from a filter should change the generated query.
FilterPluginBaseTest::acceptExposedInputProvider function core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php The data provider for testAcceptExposedInput.
FilterPluginBaseTest::testAcceptExposedInput function core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php @covers ::acceptExposedInput
HandlerBase::acceptExposedInput function core/modules/views/src/Plugin/views/HandlerBase.php Take input from exposed handlers and assign to this handler, if necessary.
InOperator::acceptExposedInput function core/modules/views/src/Plugin/views/filter/InOperator.php Determines if the input from a filter should change the generated query.
LanguageBrowserDetectionAcceptLanguageTest class core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Tests browser language detection with different accept-language headers.
LanguageBrowserDetectionAcceptLanguageTest.php file core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
LanguageBrowserDetectionAcceptLanguageTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php The theme to install as the default for testing.
LanguageBrowserDetectionAcceptLanguageTest::$modules property core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Modules to install.
LanguageBrowserDetectionAcceptLanguageTest::setUp function core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php
LanguageBrowserDetectionAcceptLanguageTest::testAcceptLanguageEmptyDefault function core/modules/language/tests/src/Functional/LanguageBrowserDetectionAcceptLanguageTest.php Tests with browsers with and without Accept-Language header.
MarkupInterfaceComparator::accepts function core/tests/Drupal/TestTools/Comparator/MarkupInterfaceComparator.php
MarkupInterfaceComparatorTest::testAccepts function core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php @covers ::accepts
@dataProvider dataSetProvider
Name::acceptExposedInput function core/modules/user/src/Plugin/views/filter/Name.php Determines if the input from a filter should change the generated query.
NumericFilter::acceptExposedInput function core/modules/views/src/Plugin/views/filter/NumericFilter.php Do some minor translation of the exposed input.
NumericFilterTest::provideAcceptExposedInput function core/modules/views/tests/src/Unit/Plugin/views/filter/NumericFilterTest.php Data provider for testAcceptExposedInput test.
NumericFilterTest::testAcceptExposedInput function core/modules/views/tests/src/Unit/Plugin/views/filter/NumericFilterTest.php Tests the acceptExposedInput method.
PageCacheAcceptHeaderController class core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php Defines a controller to respond the page cache accept header test.
PageCacheAcceptHeaderController.php file core/modules/system/tests/modules/system_test/src/Controller/PageCacheAcceptHeaderController.php

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