Search for js

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

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