You are here

function js_test_arguments in JS Callback Handler 6

Same name and namespace in other branches
  1. 7 tests/js_test.module \js_test_arguments()

Test callback for the js module.

1 string reference to 'js_test_arguments'
js_test_js in tests/js_test.module
Implements hook_js().

File

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

Code

function js_test_arguments($argument_1, $argument_2) {
  return js_test_response(array(
    'argument_1' => $argument_1,
    'argument_2' => $argument_2,
  ));
}