Search for all
Title | Object type | File name | Summary |
---|---|---|---|
DrupalWebTestCase::drupalGetHeader | function | modules/ |
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/ |
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/ |
Gets an array containing all e-mails sent during this test case. |
DrupalWebTestCase::drupalGetNodeByTitle | function | modules/ |
Get a node from the database based on its title. |
DrupalWebTestCase::drupalGetSettings | function | modules/ |
Gets the value of the Drupal.settings JavaScript variable for the currently loaded page. |
DrupalWebTestCase::drupalGetTestFiles | function | modules/ |
Get a list files that can be used in tests. |
DrupalWebTestCase::drupalGetToken | function | modules/ |
Generate a token for the currently logged in user. |
DrupalWebTestCase::drupalHead | function | modules/ |
Retrieves only the headers for a Drupal path or an absolute path. |
DrupalWebTestCase::drupalLogin | function | modules/ |
Log in a user with the internal browser. |
DrupalWebTestCase::drupalLogout | function | modules/ |
|
DrupalWebTestCase::drupalPost | function | modules/ |
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser. |
DrupalWebTestCase::drupalPostAJAX | function | modules/ |
Execute an Ajax submission. |
DrupalWebTestCase::drupalSetContent | function | modules/ |
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/ |
Sets the value of the Drupal.settings JavaScript variable for the currently loaded page. |
DrupalWebTestCase::getAbsoluteUrl | function | modules/ |
Takes a path and returns an absolute path. |
DrupalWebTestCase::getAllOptions | function | modules/ |
Get all option elements, including nested options, in a select. |
DrupalWebTestCase::getSelectedItem | function | modules/ |
Get the selected value from a select field. |
DrupalWebTestCase::getSetupCacheKey | function | modules/ |
Returns the cache key used for the setup caching. |
DrupalWebTestCase::getUrl | function | modules/ |
Get the current URL from the cURL handler. |
DrupalWebTestCase::handleForm | function | modules/ |
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/ |
Copies the cached tables and files for a cached installation setup. |
DrupalWebTestCase::parse | function | modules/ |
Parse content returned from curlExec using DOM and SimpleXML. |
DrupalWebTestCase::preloadRegistry | function | modules/ |
Preload the registry from the testing site. |
DrupalWebTestCase::prepareDatabasePrefix | function | modules/ |
Generates a database prefix for running tests. |
DrupalWebTestCase::prepareEnvironment | function | modules/ |
Prepares the current environment for running the test. |
DrupalWebTestCase::recursiveDirectoryCopy | function | modules/ |
Recursively copy one directory to another. |
DrupalWebTestCase::refreshVariables | function | modules/ |
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/ |
Reset all data structures after having enabled new modules. |
DrupalWebTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
DrupalWebTestCase::storeSetupCache | function | modules/ |
Store the installation setup to a cache. |
DrupalWebTestCase::tearDown | function | modules/ |
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix. |
DrupalWebTestCase::verboseEmail | function | modules/ |
Outputs to verbose the most recent $count emails sent. |
DrupalWebTestCase::xpath | function | modules/ |
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/ |
Constructor for DrupalWebTestCase. |
drupal_access_denied | function | includes/ |
Delivers an "access denied" error to the browser. |
drupal_add_css | function | includes/ |
Adds a cascading stylesheet to the stylesheet queue. |
drupal_add_feed | function | includes/ |
Adds a feed URL for the current page. |
drupal_add_html_head | function | includes/ |
Adds output to the HEAD tag of the HTML page. |
drupal_add_html_head_link | function | includes/ |
Adds a LINK tag with distinct attributes to the page's HEAD. |
drupal_add_http_header | function | includes/ |
Sets an HTTP response header for the current page. |
drupal_add_js | function | includes/ |
Adds a JavaScript file, setting, or inline code to the page. |
drupal_add_library | function | includes/ |
Adds multiple JavaScript or CSS files at the same time. |
drupal_add_region_content | function | includes/ |
Adds content to a specified region. |
drupal_add_tabledrag | function | includes/ |
Assists in adding the tableDrag JavaScript behavior to a themed table. |
drupal_aggregate_css | function | includes/ |
Default callback to aggregate CSS files and inline content. |
drupal_alter | function | includes/ |
Passes alterable variables to specific hook_TYPE_alter() implementations. |
DRUPAL_ANONYMOUS_RID | constant | includes/ |
Role ID for anonymous users; should match what's in the "role" table. |
drupal_anonymous_user | function | includes/ |
Generates a default anonymous $user object. |
drupal_array_diff_assoc_recursive | function | includes/ |
Recursively computes the difference of arrays with additional index check. |
drupal_array_get_nested_value | function | includes/ |
Retrieves a value from a nested array with variable depth. |
Pagination
- Previous page
- Page 57
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.