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-7.x/modules/simpletest/tests/ajax.test
Test that ajax_render() returns JavaScript settings generated during the page request.
AJAXFrameworkTestCase::testLazyLoad in drupal-7.x/modules/simpletest/tests/ajax.test
Test that new JavaScript and CSS files added during an AJAX request are returned.

File

drupal-7.x/modules/simpletest/drupal_web_test_case.php, line 2833

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

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