Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
JsonEncoderTest class core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php @coversDefaultClass \Drupal\serialization\Encoder\JsonEncoder[[api-linebreak]]
@group serialization
JsonEncoderTest.php file core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php
JsonEncoderTest::testSupportsEncoding function core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php Tests the supportsEncoding() method.
JsonRenderer class core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php Default main content renderer for JSON requests.
JsonRenderer.php file core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php
JsonRenderer::$renderer property core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php The renderer service.
JsonRenderer::$titleResolver property core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php The title resolver.
JsonRenderer::renderResponse function core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php Renders the main content render array into a response.
JsonRenderer::__construct function core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php Constructs a new JsonRenderer.
JsonTest class core/tests/Drupal/Tests/Component/Serialization/JsonTest.php @coversDefaultClass \Drupal\Component\Serialization\Json[[api-linebreak]]
@group Serialization
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.
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'.
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.
JSWebAssert::buildJavascriptStatusMessageSelector function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Builds a xpath selector for a message with given type and text.
JSWebAssert::checkNodeVisibilityInViewport function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Check the visibility of a node, or its specific corner.
JSWebAssert::escapeHtml function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Escapes HTML for testing.

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