Search for js

  1. Search 9.5.x for js
  2. Search 8.9.x for js
  3. Search 10.3.x for js
  4. Search 11.x for js
  5. Search main for js
  6. Other projects
Title Object type File name Summary
AnnounceFeedTestInvalidJsonTestCase class modules/announcements_feed/tests/announce_feed_test.test Tests the announcements feed with invalid JSON URLs.
AnnounceFeedTestInvalidJsonTestCase::$invalidJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which returns invalid JSON.
AnnounceFeedTestInvalidJsonTestCase::$removed property modules/announcements_feed/tests/announce_feed_test.test A test endpoint that will have some feeds removed.
AnnounceFeedTestInvalidJsonTestCase::$responseJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which contains the community feeds.
AnnounceFeedTestInvalidJsonTestCase::$unknownJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which does not exist.
AnnounceFeedTestInvalidJsonTestCase::$user property modules/announcements_feed/tests/announce_feed_test.test A user with permission to access toolbar and access announcements.
AnnounceFeedTestInvalidJsonTestCase::getInfo function modules/announcements_feed/tests/announce_feed_test.test
AnnounceFeedTestInvalidJsonTestCase::setUp function modules/announcements_feed/tests/announce_feed_test.test Sets up a Drupal site for running functional and integration tests.
AnnounceFeedTestInvalidJsonTestCase::testInvalidFeedResponse function modules/announcements_feed/tests/announce_feed_test.test Test the announcements feed with invalid JSON or non-existing JSON URL.
AnnounceFeedTestSanitizationTestCase::$hackedJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which contains the malicious content.
AnnounceFeedTestValidateJsonFeed class modules/announcements_feed/tests/announce_feed_test.test Tests for validating JSON feed with different JSON URLs.
AnnounceFeedTestValidateJsonFeed::$emptyJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which displays an empty JSON.
AnnounceFeedTestValidateJsonFeed::$removed property modules/announcements_feed/tests/announce_feed_test.test A test endpoint that will have some feeds removed.
AnnounceFeedTestValidateJsonFeed::$responseJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which contains the community feeds.
AnnounceFeedTestValidateJsonFeed::$updatedJson property modules/announcements_feed/tests/announce_feed_test.test A test endpoint which include the new/updated feeds.
AnnounceFeedTestValidateJsonFeed::$user property modules/announcements_feed/tests/announce_feed_test.test A user with permission to access toolbar and access announcements.
AnnounceFeedTestValidateJsonFeed::getInfo function modules/announcements_feed/tests/announce_feed_test.test
AnnounceFeedTestValidateJsonFeed::setUp function modules/announcements_feed/tests/announce_feed_test.test Sets up a Drupal site for running functional and integration tests.
AnnounceFeedTestValidateJsonFeed::testAnnounceFeedEmpty function modules/announcements_feed/tests/announce_feed_test.test Check the status of the feed with an empty JSON feed.
AnnounceFeedTestValidateJsonFeed::testAnnounceFeedUpdatedAndRemoved function modules/announcements_feed/tests/announce_feed_test.test Testing the feed with Updated and Removed JSON feeds.
ANNOUNCEMENTS_FEED_DEFAULT_JSON_URL constant modules/announcements_feed/announcements_feed.module Default URL for the announcements JSON feed.
book_pick_book_nojs_submit function modules/book/book.module Form submission handler for node_form().
common_test_js_and_css_querystring function modules/simpletest/tests/common_test.module Adds a JavaScript file and a CSS file with a query string appended.
DrupalJSONTest class modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalJSONTest::getInfo function modules/simpletest/tests/common.test
DrupalJSONTest::testJSON function modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
drupal_add_js function includes/common.inc Adds a JavaScript file, setting, or inline code to the page.
drupal_build_js_cache function includes/common.inc Aggregates JavaScript files into a cache file in the files directory.
drupal_clear_js_cache function includes/common.inc Deletes old cached JavaScript files and variables.
drupal_get_js function includes/common.inc Returns a themed presentation of all JavaScript code for the current page.
drupal_json_decode function includes/common.inc Converts an HTML-safe JSON string into its PHP equivalent.
drupal_json_encode function includes/common.inc Converts a PHP variable into its JavaScript equivalent.
drupal_json_encode_helper function includes/json-encode.inc Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0.
drupal_json_output function includes/common.inc Returns data in JSON format.
drupal_js_defaults function includes/common.inc Constructs an array of the defaults that are used for JavaScript items.
drupal_sort_css_js function includes/common.inc Sorts CSS and JavaScript resources.
FieldFormTestCase::testFieldFormJSAddMore function modules/field/tests/field.test
field_add_more_js function modules/field/field.form.inc Ajax callback in response to a new empty widget being added to the form.
field_ui_display_overview_multistep_js function modules/field_ui/field_ui.admin.inc Ajax handler for multistep buttons on the 'Manage display' screen.
hook_js_alter function modules/system/system.api.php Perform necessary alterations to the JavaScript before it is presented on
the page.
JavaScriptTestCase::$preprocess_js property modules/simpletest/tests/common.test Store configured value for JavaScript preprocessing.
JavaScriptTestCase::testAddJsFileWithQueryString function modules/simpletest/tests/common.test Tests that the query string remains intact when adding JavaScript files
that have query string parameters.
JavaScriptTestCase::testSetHasJsCookie function modules/simpletest/tests/common.test Tests that the set_has_js_cookie variable is reflected in Drupal.settings.
json-encode.inc file includes/json-encode.inc Provides a helper to properly encode HTML-safe JSON prior to PHP 5.3.0.
JS_DEFAULT constant includes/common.inc The default group for module JavaScript code added to the page.
JS_LIBRARY constant includes/common.inc The default group for JavaScript and jQuery libraries added to the page.
JS_THEME constant includes/common.inc The default group for theme JavaScript code added to the page.
locale_js_alter function modules/locale/locale.module Implements hook_js_alter().
LOCALE_JS_OBJECT constant includes/locale.inc Regular expression pattern used to match simple JS object literal.
LOCALE_JS_OBJECT_CONTEXT constant includes/locale.inc Regular expression to match an object containing a key 'context'.

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