Search for js
Title | Object type | File name | Summary |
---|---|---|---|
JsonapiHooks::modulesInstalled | function | core/ |
Implements hook_modules_installed(). |
JsonApiJsonSchemaTestTrait | trait | core/ |
Support methods for testing JSON API schema. |
JsonApiJsonSchemaTestTrait.php | file | core/ |
|
JsonApiJsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat | function | core/ |
Format that should be used when performing test normalizations. |
JsonApiJsonSchemaTestTrait::getNormalizationForValue | function | core/ |
|
JsonApiJsonSchemaTestTrait::getValidator | function | core/ |
Get the JSON Schema Validator. |
JsonapiKernelTestBase | class | core/ |
Contains shared test utility methods. |
JsonapiKernelTestBase.php | file | core/ |
|
JsonapiKernelTestBase::$modules | property | core/ |
Modules to install. |
JsonapiKernelTestBase::createTextField | function | core/ |
Creates a field of a text field storage on the bundle. |
JsonapiMaintenanceModeSubscriber | class | core/ |
Maintenance mode subscriber for JSON:API requests. |
JsonapiMaintenanceModeSubscriber.php | file | core/ |
|
JsonapiMaintenanceModeSubscriber::$config | property | core/ |
The configuration factory. |
JsonapiMaintenanceModeSubscriber::$maintenanceMode | property | core/ |
The maintenance mode. |
JsonapiMaintenanceModeSubscriber::getSubscribedEvents | function | core/ |
|
JsonapiMaintenanceModeSubscriber::onMaintenanceModeRequest | function | core/ |
Returns response when site is in maintenance mode and user is not exempt. |
JsonapiMaintenanceModeSubscriber::__construct | function | core/ |
Constructs a new JsonapiMaintenanceModeSubscriber. |
JsonApiPatchRegressionTest | class | core/ |
JSON:API regression tests. |
JsonApiPatchRegressionTest.php | file | core/ |
|
JsonApiPatchRegressionTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
JsonApiPatchRegressionTest::$modules | property | core/ |
Modules to install. |
JsonApiPatchRegressionTest::testBundlelessRelationshipMutationFromIssue2973681 | function | core/ |
Ensure POST and PATCH works for bundle-less relationship routes. |
JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 | function | core/ |
Ensure filtering on relationships works with bundle-specific target types. |
JsonApiPatchRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 | function | core/ |
Cannot PATCH an entity with dangling references in an ER field. |
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 | function | core/ |
Ensure non-translatable entities can be PATCHed with an alternate language. |
JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 | function | core/ |
Ensures PATCHing datetime (both date-only & date+time) fields is possible. |
JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 | function | core/ |
Ensure PATCHing a non-existing field property results in a helpful error. |
JsonApiPatchRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 | function | core/ |
Ensure includes are respected even when PATCHing. |
JsonApiPerformanceTest | class | core/ |
Tests performance for JSON:API routes. |
JsonApiPerformanceTest.php | file | core/ |
|
JsonApiPerformanceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
JsonApiPerformanceTest::$modules | property | core/ |
Modules to install. |
JsonApiPerformanceTest::testGetIndividual | function | core/ |
Tests performance of the navigation toolbar. |
JsonApiRegressionTest | class | core/ |
JSON:API regression tests. |
JsonApiRegressionTest.php | file | core/ |
|
JsonApiRegressionTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
JsonApiRegressionTest::$modules | property | core/ |
Modules to install. |
JsonApiRegressionTest::testAliasedFieldsWithVirtualRelationships | function | core/ |
Tests that "virtual/missing" resources can exist for renamed fields. |
JsonApiRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2984647 | function | core/ |
Cannot GET an entity with dangling references in an ER field. |
JsonApiRegressionTest::testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681 | function | core/ |
Ensure deep nested include works on multi target entity type field. |
JsonApiRegressionTest::testDenormalizeAliasedRelationshipFromIssue2953207 | function | core/ |
Ensures denormalizing relationships with aliased field names works. |
JsonApiRegressionTest::testEmptyMapFieldTypeDenormalization | function | core/ |
Ensure optional `@FieldType=map` fields are denormalized correctly. |
JsonApiRegressionTest::testGetNodeCollectionWithHookNodeGrantsImplementationsFromIssue2984964 | function | core/ |
Ensures GETting node collection + hook_node_grants() implementations works. |
JsonApiRegressionTest::testGetTermWhenMultipleVocabulariesExistFromIssue2977879 | function | core/ |
Ensures GETting terms works when multiple vocabularies exist. |
JsonApiRegressionTest::testInvalidDataTriggersUnprocessableEntityErrorFromIssue3052954 | function | core/ |
Ensure POSTing invalid data results in a 422 response, not a PHP error. |
JsonApiRegressionTest::testLeakCacheMetadataInOmitted | function | core/ |
Ensure EntityAccessDeniedHttpException cacheability is taken into account. |
JsonApiRegressionTest::testMapFieldTypeNormalizationFromIssue3040590 | function | core/ |
Ensure `@FieldType=map` fields are normalized correctly. |
JsonApiRegressionTest::testNonCacheableMethods | function | core/ |
Tests that caching isn't happening for non-cacheable methods. |
JsonApiRegressionTest::testPageCacheFromIssue3009596 | function | core/ |
Ensures that Drupal's page cache is effective. |
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 | function | core/ |
Ensures datetime fields are normalized using the correct timezone. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.