Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
JsonSchemaTestTrait::testNormalizedValuesAgainstJsonSchema function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test normalized values against the JSON schema.
JsonSchemaTestTrait::testSupportedTypesSchemaIsValid function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test that a valid schema is returned for the explicitly supported types.
JsonTest class core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests Drupal\Component\Serialization\Json.
JsonTest.php file core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
JsonTest::$htmlUnsafe property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php An array of unsafe html characters which has to be encoded.
JsonTest::$htmlUnsafeEscaped property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php An array of unsafe html characters which are already escaped.
JsonTest::$string property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php A test string with the full ASCII table.
JsonTest::setUp function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
JsonTest::testEncodingAscii function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests encoding for every ASCII character.
JsonTest::testEncodingLength function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests encoding length.
JsonTest::testEncodingStartEnd function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests end and start of the encoded string.
JsonTest::testReversibility function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests converting PHP variables to JSON strings and back.
JsonTest::testStructuredReversibility function core/tests/Drupal/Tests/Component/Serialization/JsonTest.php Tests the reversibility of structured data.
JsonTestFieldFilterAccessHooks class core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php Hook implementations for jsonapi_test_field_filter_access.
JsonTestFieldFilterAccessHooks.php file core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php
JsonTestFieldFilterAccessHooks::jsonapiEntityFieldFilterAccess function core/modules/jsonapi/tests/modules/jsonapi_test_field_filter_access/src/Hook/JsonTestFieldFilterAccessHooks.php Implements hook_jsonapi_entity_field_filter_access().
JsOptimizer class core/lib/Drupal/Core/Asset/JsOptimizer.php Optimizes a JavaScript asset.
JsOptimizer.php file core/lib/Drupal/Core/Asset/JsOptimizer.php
JsOptimizer::clean function core/lib/Drupal/Core/Asset/JsOptimizer.php Processes the contents of a javascript asset for cleanup.
JsOptimizer::optimize function core/lib/Drupal/Core/Asset/JsOptimizer.php Optimizes an asset.
JsOptimizer::__construct function core/lib/Drupal/Core/Asset/JsOptimizer.php Constructs a new JsOptimizer object.
JsOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests the JS asset optimizer.
JsOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php
JsOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php A JS asset optimizer.
JsOptimizerUnitTest::providerTestClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset cleaning test.
JsOptimizerUnitTest::providerTestOptimize function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset optimize test.
JsOptimizerUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php
JsOptimizerUnitTest::testClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests cleaning of a JS asset group containing 'type' => 'file'.
JsOptimizerUnitTest::testOptimize function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests cleaning of a JS asset group containing 'type' => 'file'.
JsTestingAjaxRequestTestHooks class core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php Hook implementations for js_testing_ajax_request_test.
JsTestingAjaxRequestTestHooks.php file core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php
JsTestingAjaxRequestTestHooks::pageAttachments function core/modules/system/tests/modules/js_testing_ajax_request_test/src/Hook/JsTestingAjaxRequestTestHooks.php Implements hook_page_attachments().
JsTestingLogTestHooks class core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php Hook implementations for js_testing_log_test.
JsTestingLogTestHooks.php file core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php
JsTestingLogTestHooks::jsSettingsAlter function core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php Implements hook_js_settings_alter().
JsTestingLogTestHooks::pageAttachments function core/modules/system/tests/modules/js_testing_log_test/src/Hook/JsTestingLogTestHooks.php Implements hook_page_attachments().
JSTranslationTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php Tests for CKEditor 5 plugins using Drupal's translation system.
JSTranslationTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php
JSTranslationTest::$modules property core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php Modules to install.
JSTranslationTest::setUp function core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php
JSTranslationTest::test function core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php Integration test to ensure that CKEditor 5 Plugins translations are loaded.
JSWebAssert class core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Defines a class with methods for asserting presence of elements during tests.
JSWebAssert.php file core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
JSWebAssert::assertEscaped function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Passes if the raw text IS found escaped on the loaded page.
JSWebAssert::assertExpectedAjaxRequest function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that an AJAX request has been completed.
JSWebAssert::assertNoElementAfterWait function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Asserts that no matching element exists on the page after a wait.
JSWebAssert::assertNoEscaped function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Passes if the raw text IS NOT found escaped on the loaded page.
JSWebAssert::assertNotVisibleInViewport function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Tests that a node, or its specific corner, is not visible in the viewport.
JSWebAssert::assertVisibleInViewport function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Tests that a node, or its specific corner, is visible in the viewport.
JSWebAssert::assertWaitOnAjaxRequest function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for AJAX request to be completed.

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