JS_THEME |
constant |
includes/common.inc |
The default group for theme 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_DEFAULT |
constant |
includes/common.inc |
The default group for module JavaScript code added to the page. |
hook_js_alter |
function |
modules/system/system.api.php |
Perform necessary alterations to the JavaScript before it is presented on
the page. |
drupal_add_js |
function |
includes/common.inc |
Adds a JavaScript file, setting, or inline code to the page. |
drupal_get_js |
function |
includes/common.inc |
Returns a themed presentation of all JavaScript code for the current page. |
DrupalJSONTest |
class |
modules/simpletest/tests/common.test |
Tests converting PHP variables to JSON strings and back. |
poll_choice_js |
function |
modules/poll/poll.module |
Ajax callback in response to new choices being added to the form. |
json-encode.inc |
file |
includes/json-encode.inc |
Provides a helper to properly encode HTML-safe JSON prior to PHP 5.3.0. |
locale_js_alter |
function |
modules/locale/locale.module |
Implements hook_js_alter(). |
PollJSAddChoice |
class |
modules/poll/poll.test |
Test adding new choices. |
LOCALE_JS_OBJECT |
constant |
includes/locale.inc |
Regular expression pattern used to match simple JS object literal. |
LOCALE_JS_STRING |
constant |
includes/locale.inc |
Regular expression pattern used to localize JavaScript strings. |
field_add_more_js |
function |
modules/field/field.form.inc |
Ajax callback in response to a new empty widget being added to the form. |
drupal_sort_css_js |
function |
includes/common.inc |
Sorts CSS and JavaScript resources. |
drupal_json_encode |
function |
includes/common.inc |
Converts a PHP variable into its JavaScript equivalent. |
drupal_json_output |
function |
includes/common.inc |
Returns data in JSON format. |
drupal_json_decode |
function |
includes/common.inc |
Converts an HTML-safe JSON string into its PHP equivalent. |
_locale_rebuild_js |
function |
includes/locale.inc |
(Re-)Creates the JavaScript translation file for a language. |
drupal_js_defaults |
function |
includes/common.inc |
Constructs an array of the defaults that are used for JavaScript items. |
simpletest_js_alter |
function |
modules/simpletest/simpletest.module |
Implements hook_js_alter(). |
_drupal_flush_css_js |
function |
includes/common.inc |
Changes the dummy query string added to all CSS and JavaScript files. |
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. |
_locale_parse_js_file |
function |
includes/locale.inc |
Parses a JavaScript file, extracts strings wrapped in Drupal.t() and
Drupal.formatPlural() and inserts them into the database. |
_locale_invalidate_js |
function |
includes/locale.inc |
Force the JavaScript translation file(s) to be refreshed. |
menu_parent_options_js |
function |
modules/menu/menu.module |
Page callback.
Get all the available menus and menu items as a JavaScript array. |
PollJSAddChoice::setUp |
function |
modules/poll/poll.test |
Sets up a Drupal site for running functional and integration tests. |
DrupalJSONTest::getInfo |
function |
modules/simpletest/tests/common.test |
|
LOCALE_JS_OBJECT_CONTEXT |
constant |
includes/locale.inc |
Regular expression to match an object containing a key 'context'. |
DrupalJSONTest::testJSON |
function |
modules/simpletest/tests/common.test |
Tests converting PHP variables to JSON strings and back. |
PollJSAddChoice::getInfo |
function |
modules/poll/poll.test |
|
drupal_json_encode_helper |
function |
includes/json-encode.inc |
Encodes a PHP variable to HTML-safe JSON for PHP versions below 5.3.0. |
book_pick_book_nojs_submit |
function |
modules/book/book.module |
Form submission handler for node_form(). |
_form_test_submit_values_json |
function |
modules/simpletest/tests/form_test.module |
Form submit handler to return form values as JSON. |
PollJSAddChoice::testAddChoice |
function |
modules/poll/poll.test |
Test adding a new choice. |
AnnounceFeedTestValidateJsonFeed |
class |
modules/announcements_feed/tests/announce_feed_test.test |
Tests for validating JSON feed with different JSON URLs. |
JavaScriptTestCase::$preprocess_js |
property |
modules/simpletest/tests/common.test |
Store configured value for JavaScript preprocessing. |
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. |
ANNOUNCEMENTS_FEED_DEFAULT_JSON_URL |
constant |
modules/announcements_feed/announcements_feed.module |
Default URL for the announcements JSON feed. |
AnnounceFeedTestInvalidJsonTestCase |
class |
modules/announcements_feed/tests/announce_feed_test.test |
Tests the announcements feed with invalid JSON URLs. |
_form_test_tableselect_js_select_form |
function |
modules/simpletest/tests/form_test.module |
Test functionality of the tableselect #js_select property. |
MenuTestCase::testMenuParentsJsAccess |
function |
modules/menu/menu.test |
Test administrative users other than user 1 can access the menu parents AJAX callback. |
field_ui_display_overview_multistep_js |
function |
modules/field_ui/field_ui.admin.inc |
Ajax handler for multistep buttons on the 'Manage display' screen. |
JavaScriptTestCase::testSetHasJsCookie |
function |
modules/simpletest/tests/common.test |
Tests that the set_has_js_cookie variable is reflected in Drupal.settings. |
AnnounceFeedTestValidateJsonFeed::$user |
property |
modules/announcements_feed/tests/announce_feed_test.test |
A user with permission to access toolbar and access announcements. |
AnnounceFeedTestValidateJsonFeed::setUp |
function |
modules/announcements_feed/tests/announce_feed_test.test |
Sets up a Drupal site for running functional and integration tests. |
AnnounceFeedTestValidateJsonFeed::getInfo |
function |
modules/announcements_feed/tests/announce_feed_test.test |
|
FieldFormTestCase::testFieldFormJSAddMore |
function |
modules/field/tests/field.test |
|
AnnounceFeedTestValidateJsonFeed::$removed |
property |
modules/announcements_feed/tests/announce_feed_test.test |
A test endpoint that will have some feeds removed. |