Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
DrupalWebTestCase::drupalGetHeader function modules/simpletest/drupal_web_test_case.php Gets the value of an HTTP response header. If multiple requests were
required to retrieve the page, only the headers from the last request will
be checked by default. However, if TRUE is passed as the second argument,
all requests will be processed…
DrupalWebTestCase::drupalGetHeaders function modules/simpletest/drupal_web_test_case.php Gets the HTTP response headers of the requested page. Normally we are only
interested in the headers returned by the last request. However, if a page
is redirected or HTTP authentication is in use, multiple requests will be
required to retrieve the…
DrupalWebTestCase::drupalGetMails function modules/simpletest/drupal_web_test_case.php Gets an array containing all e-mails sent during this test case.
DrupalWebTestCase::drupalGetNodeByTitle function modules/simpletest/drupal_web_test_case.php Get a node from the database based on its title.
DrupalWebTestCase::drupalGetSettings function modules/simpletest/drupal_web_test_case.php Gets the value of the Drupal.settings JavaScript variable for the currently loaded page.
DrupalWebTestCase::drupalGetTestFiles function modules/simpletest/drupal_web_test_case.php Get a list files that can be used in tests.
DrupalWebTestCase::drupalGetToken function modules/simpletest/drupal_web_test_case.php Generate a token for the currently logged in user.
DrupalWebTestCase::drupalHead function modules/simpletest/drupal_web_test_case.php Retrieves only the headers for a Drupal path or an absolute path.
DrupalWebTestCase::drupalLogin function modules/simpletest/drupal_web_test_case.php Log in a user with the internal browser.
DrupalWebTestCase::drupalLogout function modules/simpletest/drupal_web_test_case.php
DrupalWebTestCase::drupalPost function modules/simpletest/drupal_web_test_case.php Execute a POST request on a Drupal page.
It will be done as usual POST request with SimpleBrowser.
DrupalWebTestCase::drupalPostAJAX function modules/simpletest/drupal_web_test_case.php Execute an Ajax submission.
DrupalWebTestCase::drupalSetContent function modules/simpletest/drupal_web_test_case.php Sets the raw HTML content. This can be useful when a page has been fetched
outside of the internal browser and assertions need to be made on the
returned page.
DrupalWebTestCase::drupalSetSettings function modules/simpletest/drupal_web_test_case.php Sets the value of the Drupal.settings JavaScript variable for the currently loaded page.
DrupalWebTestCase::getAbsoluteUrl function modules/simpletest/drupal_web_test_case.php Takes a path and returns an absolute path.
DrupalWebTestCase::getAllOptions function modules/simpletest/drupal_web_test_case.php Get all option elements, including nested options, in a select.
DrupalWebTestCase::getSelectedItem function modules/simpletest/drupal_web_test_case.php Get the selected value from a select field.
DrupalWebTestCase::getSetupCacheKey function modules/simpletest/drupal_web_test_case.php Returns the cache key used for the setup caching.
DrupalWebTestCase::getUrl function modules/simpletest/drupal_web_test_case.php Get the current URL from the cURL handler.
DrupalWebTestCase::handleForm function modules/simpletest/drupal_web_test_case.php Handle form input related to drupalPost(). Ensure that the specified fields
exist and attempt to create POST data in the correct manner for the particular
field type.
DrupalWebTestCase::loadSetupCache function modules/simpletest/drupal_web_test_case.php Copies the cached tables and files for a cached installation setup.
DrupalWebTestCase::parse function modules/simpletest/drupal_web_test_case.php Parse content returned from curlExec using DOM and SimpleXML.
DrupalWebTestCase::preloadRegistry function modules/simpletest/drupal_web_test_case.php Preload the registry from the testing site.
DrupalWebTestCase::prepareDatabasePrefix function modules/simpletest/drupal_web_test_case.php Generates a database prefix for running tests.
DrupalWebTestCase::prepareEnvironment function modules/simpletest/drupal_web_test_case.php Prepares the current environment for running the test.
DrupalWebTestCase::recursiveDirectoryCopy function modules/simpletest/drupal_web_test_case.php Recursively copy one directory to another.
DrupalWebTestCase::refreshVariables function modules/simpletest/drupal_web_test_case.php Refresh the in-memory set of variables. Useful after a page request is made
that changes a variable in a different thread.
DrupalWebTestCase::resetAll function modules/simpletest/drupal_web_test_case.php Reset all data structures after having enabled new modules.
DrupalWebTestCase::setUp function modules/simpletest/drupal_web_test_case.php Sets up a Drupal site for running functional and integration tests.
DrupalWebTestCase::storeSetupCache function modules/simpletest/drupal_web_test_case.php Store the installation setup to a cache.
DrupalWebTestCase::tearDown function modules/simpletest/drupal_web_test_case.php Delete created files and temporary files directory, delete the tables created by setUp(),
and reset the database prefix.
DrupalWebTestCase::verboseEmail function modules/simpletest/drupal_web_test_case.php Outputs to verbose the most recent $count emails sent.
DrupalWebTestCase::xpath function modules/simpletest/drupal_web_test_case.php Perform an xpath search on the contents of the internal browser. The search
is relative to the root element (HTML tag normally) of the page.
DrupalWebTestCase::__construct function modules/simpletest/drupal_web_test_case.php Constructor for DrupalWebTestCase.
drupal_access_denied function includes/common.inc Delivers an "access denied" error to the browser.
drupal_add_css function includes/common.inc Adds a cascading stylesheet to the stylesheet queue.
drupal_add_feed function includes/common.inc Adds a feed URL for the current page.
drupal_add_html_head function includes/common.inc Adds output to the HEAD tag of the HTML page.
drupal_add_html_head_link function includes/common.inc Adds a LINK tag with distinct attributes to the page's HEAD.
drupal_add_http_header function includes/bootstrap.inc Sets an HTTP response header for the current page.
drupal_add_js function includes/common.inc Adds a JavaScript file, setting, or inline code to the page.
drupal_add_library function includes/common.inc Adds multiple JavaScript or CSS files at the same time.
drupal_add_region_content function includes/common.inc Adds content to a specified region.
drupal_add_tabledrag function includes/common.inc Assists in adding the tableDrag JavaScript behavior to a themed table.
drupal_aggregate_css function includes/common.inc Default callback to aggregate CSS files and inline content.
drupal_alter function includes/module.inc Passes alterable variables to specific hook_TYPE_alter() implementations.
DRUPAL_ANONYMOUS_RID constant includes/bootstrap.inc Role ID for anonymous users; should match what's in the "role" table.
drupal_anonymous_user function includes/bootstrap.inc Generates a default anonymous $user object.
drupal_array_diff_assoc_recursive function includes/common.inc Recursively computes the difference of arrays with additional index check.
drupal_array_get_nested_value function includes/common.inc Retrieves a value from a nested array with variable depth.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.