40 string references to 'Json'
- AcceptHeaderMatcherTest::acceptFilterProvider in core/
tests/ Drupal/ Tests/ Core/ Routing/ AcceptHeaderMatcherTest.php - Provides data for the Accept header filtering test.
- AcceptHeaderMatcherTest::testNoRouteFound in core/
tests/ Drupal/ Tests/ Core/ Routing/ AcceptHeaderMatcherTest.php - Confirms that the AcceptHeaderMatcher throws an exception for no-route.
- AcceptHeaderMiddleware::handle in core/
modules/ system/ tests/ modules/ accept_header_routing_test/ src/ AcceptHeaderMiddleware.php - common_test.services.yml in core/
modules/ system/ tests/ modules/ common_test/ common_test.services.yml - core/modules/system/tests/modules/common_test/common_test.services.yml
- ContextualDynamicContextTest::renderContextualLinks in core/
modules/ contextual/ tests/ src/ Functional/ ContextualDynamicContextTest.php - Get server-rendered contextual links for the given contextual link ids.
- core.services.yml in core/
core.services.yml - core/core.services.yml
- default_format_test.routing.yml in core/
modules/ system/ tests/ modules/ default_format_test/ default_format_test.routing.yml - core/modules/system/tests/modules/default_format_test/default_format_test.routing.yml
- ExceptionHandlingTest::testJson403 in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ ExceptionHandlingTest.php - Tests the exception handling for json and 403 status code.
- ExceptionHandlingTest::testJson404 in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ ExceptionHandlingTest.php - Tests the exception handling for json and 404 status code.
- ExceptionJsonSubscriber::getHandledFormats in core/
lib/ Drupal/ Core/ EventSubscriber/ ExceptionJsonSubscriber.php - Specifies the request formats this subscriber will respond to.
- FormTestCheckboxesZeroForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestCheckboxesZeroForm.php - Form constructor.
- FormTestCheckboxesZeroForm::submitForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestCheckboxesZeroForm.php - Form submission handler.
- Json::getFileExtension in core/
lib/ Drupal/ Component/ Serialization/ Json.php - Gets the file extension for this serialization format.
- PageCacheAcceptHeaderController::content in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ PageCacheAcceptHeaderController.php - Processes a request that will vary with Accept header.
- RenderArrayNonHtmlSubscriberTest::testResponses in core/
modules/ system/ tests/ src/ Functional/ Render/ RenderArrayNonHtmlSubscriberTest.php - Tests handling of responses by events subscriber.
- RenderWebTest::testWrapperFormatCacheContext in core/
modules/ system/ tests/ src/ Functional/ Common/ RenderWebTest.php - Asserts the cache context for the wrapper format is always present.
- RequestFormatRouteFilterTest::filterProvider in core/
tests/ Drupal/ Tests/ Core/ Routing/ RequestFormatRouteFilterTest.php - RequestFormatRouteFilterTest::testNoRouteFound in core/
tests/ Drupal/ Tests/ Core/ Routing/ RequestFormatRouteFilterTest.php - @covers ::filter[[api-linebreak]]
- ResponseGeneratorTest::testGeneratorHeaderAdded in core/
modules/ system/ tests/ src/ Functional/ System/ ResponseGeneratorTest.php - Tests to see if generator header is added.
- rest.resource.entity.node.yml in core/
modules/ rest/ config/ optional/ rest.resource.entity.node.yml - core/modules/rest/config/optional/rest.resource.entity.node.yml
- RoutingFixtures::contentRouteCollection in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutingFixtures.php - Returns a Content-type restricted set of routes for testing.
- RoutingFixtures::sampleRouteCollection in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutingFixtures.php - Returns a standard set of routes for testing.
- RoutingFixtures::staticSampleRouteCollection in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutingFixtures.php - Returns a static version of the routes.
- SiteMaintenanceTest::testNonHtmlRequest in core/
modules/ system/ tests/ src/ Functional/ System/ SiteMaintenanceTest.php - Tests responses to non-HTML requests when in maintenance mode.
- StyleSerializerEntityTest::testFieldRawOutput in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the raw output options for row field rendering.
- StyleSerializerEntityTest::testLivePreview in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the live preview output for json output.
- StyleSerializerEntityTest::testResponseFormatConfiguration in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the response format configuration.
- StyleSerializerEntityTest::testRestRenderCaching in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests REST export with views render caching enabled.
- StyleSerializerEntityTest::testSerializerResponses in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Checks the behavior of the Serializer callback paths and row plugins.
- StyleSerializerEntityTest::testSerializerViewsUI in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the views interface for REST export displays.
- StyleSerializerEntityTest::testUIFieldAlias in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerEntityTest.php - Tests the field ID alias functionality of the DataFieldRow plugin.
- system.routing.yml in core/
modules/ system/ system.routing.yml - core/modules/system/system.routing.yml
- TermAutocompleteTest::drupalGetJson in core/
modules/ taxonomy/ tests/ src/ Functional/ TermAutocompleteTest.php - Helper function for JSON formatted requests.
- TestController::format in core/
modules/ system/ tests/ modules/ content_negotiation_test/ src/ Controller/ TestController.php - Returns different responses depending on the request format.
- TestSiteInstallCommand::execute in core/
tests/ Drupal/ TestSite/ Commands/ TestSiteInstallCommand.php - user.routing.yml in core/
modules/ user/ user.routing.yml - core/modules/user/user.routing.yml
- UserAuthenticationController::create in core/
modules/ user/ src/ Controller/ UserAuthenticationController.php - Instantiates a new instance of the implementing class using autowiring.
- UserLoginHttpTest::testLogin in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Tests user session life cycle.
- UserLoginHttpTest::testPasswordReset in core/
modules/ user/ tests/ src/ Functional/ UserLoginHttpTest.php - Tests user password reset.
- UserResourceTestBase::assertRpcLogin in core/
modules/ user/ tests/ src/ Functional/ Rest/ UserResourceTestBase.php - Verifies that logging in with the given username and password works.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.