Skip navigation
Help

DrupalWebTestCase::drupalGetAJAX

7 drupal_web_test_case.php protected DrupalWebTestCase::drupalGetAJAX($path, array $options = array(), array $headers = array())

Retrieve a Drupal path or an absolute path and JSON decode the result.

2 calls to DrupalWebTestCase::drupalGetAJAX()

File

drupal/modules/simpletest/drupal_web_test_case.php, line 1735

Code

protected function drupalGetAJAX($path, array $options = array(), array $headers = array()) {
  return drupal_json_decode($this->drupalGet($path, $options, $headers));
}