You are here

function js_test_variable in JS Callback Handler 7

Test callback for the js module.

2 string references to 'js_test_variable'
JsTestWebTestCase::testBootstrap in tests/js_test.test
Test bootstrapping.
js_test_js in tests/js_test.module
Implements hook_js().

File

tests/js_test.module, line 85
JavaScript callback handler tests.

Code

function js_test_variable() {
  return js_test_response(variable_get('js_test_variable', 0));
}