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. Search 11.x for js
  6. Other projects
Title Object type File name Summary
JsAssetController class core/modules/system/src/Controller/JsAssetController.php Defines a controller to serve Javascript aggregates.
JsAssetController.php file core/modules/system/src/Controller/JsAssetController.php
JsAssetController::$assetType property core/modules/system/src/Controller/JsAssetController.php The asset type.
JsAssetController::$contentType property core/modules/system/src/Controller/JsAssetController.php The asset aggregate content type to send as Content-Type header.
JsAssetController::create function core/modules/system/src/Controller/JsAssetController.php Instantiates a new instance of the implementing class using autowiring.
JsAssetController::getGroups function core/modules/system/src/Controller/JsAssetController.php Get grouped assets.
JsCollectionGrouper class core/lib/Drupal/Core/Asset/JsCollectionGrouper.php Groups JavaScript assets.
JsCollectionGrouper.php file core/lib/Drupal/Core/Asset/JsCollectionGrouper.php
JsCollectionGrouper::group function core/lib/Drupal/Core/Asset/JsCollectionGrouper.php Puts multiple items into the same group if they are groupable. Items of
the 'file' type are groupable if their 'preprocess' flag is TRUE. Items of
the 'external' type are not groupable.
JsCollectionOptimizerLazy class core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php Optimizes JavaScript assets.
JsCollectionOptimizerLazy.php file core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php
JsCollectionOptimizerLazy::deleteAll function core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php Deletes all optimized asset collections assets.
JsCollectionOptimizerLazy::optimize function core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php Optimizes a collection of assets.
JsCollectionOptimizerLazy::optimizeGroup function core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php Optimizes a specific group of assets.
JsCollectionOptimizerLazy::__construct function core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php Constructs a JsCollectionOptimizerLazy.
JsCollectionRenderer class core/lib/Drupal/Core/Asset/JsCollectionRenderer.php Renders JavaScript assets.
JsCollectionRenderer.php file core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
JsCollectionRenderer::render function core/lib/Drupal/Core/Asset/JsCollectionRenderer.php This class evaluates the aggregation enabled/disabled condition on a group
by group basis by testing whether an aggregate file has been made for the
group rather than by testing the site-wide aggregation setting. This allows
this class to work…
JsCollectionRenderer::__construct function core/lib/Drupal/Core/Asset/JsCollectionRenderer.php Constructs a JsCollectionRenderer.
JsDeprecationTestController class core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php Test Controller to show message links.
JsDeprecationTestController.php file core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php
JsDeprecationTestController::jsDeprecationTest function core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php Renders page that has js_deprecation_test/deprecation library attached.
JsDeprecationTestHooks class core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php Hook implementations for js_deprecation_test.
JsDeprecationTestHooks.php file core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php
JsDeprecationTestHooks::jsSettingsAlter function core/modules/system/tests/modules/js_deprecation_test/src/Hook/JsDeprecationTestHooks.php Implements hook_js_settings_alter().
JsDisplaceThemeHooks class core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php Theme hook implementations for js_displace module.
JsDisplaceThemeHooks.php file core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php
JsDisplaceThemeHooks::preprocessHtml function core/modules/system/tests/modules/js_displace/src/Hook/JsDisplaceThemeHooks.php Implements hook_preprocess_HOOK().
JsErrorsTestController class core/modules/system/tests/modules/js_errors_test/src/Controller/JsErrorsTestController.php Test Controller loading js_errors_test/errors_test library.
JsErrorsTestController.php file core/modules/system/tests/modules/js_errors_test/src/Controller/JsErrorsTestController.php
JsErrorsTestController::jsErrorsAsyncTest function core/modules/system/tests/modules/js_errors_test/src/Controller/JsErrorsTestController.php Renders page that has js_errors_test/errors_async_test library attached.
JsErrorsTestController::jsErrorsTest function core/modules/system/tests/modules/js_errors_test/src/Controller/JsErrorsTestController.php Renders page that has js_errors_test/errors_test library attached.
JSInteractionTest class core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Tests fault tolerant interactions.
JSInteractionTest.php file core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php
JSInteractionTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php The theme to install as the default for testing.
JSInteractionTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Modules to install.
JSInteractionTest::testElementsInteraction function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Assert no exception is thrown when elements become interactive.
JSInteractionTest::testFieldValueNotSettable function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Assert an exception is thrown when the field is never enabled.
JSInteractionTest::testNotClickable function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php Assert an exception is thrown when the blocker element is never removed.
JSInteractionTestForm class core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php Controller for testing fault tolerant JavaScript interactions.
JSInteractionTestForm.php file core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php
JSInteractionTestForm::buildForm function core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php Creates the test form.
JSInteractionTestForm::getFormId function core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php Returns a unique string identifying the form.
JSInteractionTestForm::submitForm function core/modules/system/tests/modules/js_interaction_test/src/Controller/JSInteractionTestForm.php Form submission handler.
JsMessageTest class core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php Tests core/drupal.message library.
JsMessageTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php
JsMessageTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php The theme to install as the default for testing.
JsMessageTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php Modules to install.
JsMessageTest::assertCurrentMessages function core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php Asserts that currently shown messages match expected messages.
JsMessageTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/JsMessageTest.php

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