protected function DrupalWebTestCase::drupalGetSettings

7.x drupal_web_test_case.php protected DrupalWebTestCase::drupalGetSettings()

Gets the value of the Drupal.settings JavaScript variable for the currently loaded page.

2 calls to DrupalWebTestCase::drupalGetSettings()
AJAXFrameworkTestCase::testAJAXRender in drupal/modules/simpletest/tests/ajax.test
Test that ajax_render() returns JavaScript settings generated during the page request.
AJAXFrameworkTestCase::testLazyLoad in drupal/modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.

File

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

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function drupalGetSettings() {
  return $this->drupalSettings;
}