t

  1. drupal
    1. 5 common.inc
    2. 6 common.inc
    3. 7
    4. 8
Versions
5 t($string, $args = 0)
6 t($string, $args = array(), $langcode = NULL)
8 – 7 t($string, array $args = array(), array $options = array())

Translates a string to the current language or to a given language.

The t() function serves two purposes. First, at run-time it translates user-visible text into the appropriate language. Second, various mechanisms that figure out what text needs to be translated work off t() -- the text inside t() calls is added to the database of strings to be translated. These strings are expected to be in English, so the first argument should always be in English. To enable a fully-translatable site, it is important that all human-readable text that will be displayed on the site or sent to a user is passed through the t() function, or a related function. See the Localization API pages for more information, including recommendations on how to break up or not break up strings for translation.

You should never use t() to translate variables, such as calling

<?php t($text); ?>

, unless the text that the variable holds has been passed through t() elsewhere (e.g., $text is one of several translated literal strings in an array). It is especially important never to call

<?php t($user_text); ?>

, where $user_text is some text that a user entered - doing that can lead to cross-site scripting and other security problems. However, you can use variable substitution in your string, to put variable text such as user names or link URLs into translated text. Variable substitution looks like this:

<?php
$text = t("@name's blog", array('@name' => format_username($account)));
?>

Basically, you can put variables like @name into your string, and t() will substitute their sanitized values at translation time (see $args below or the Localization API pages referenced above for details). Translators can then rearrange the string as necessary for the language (e.g., in Spanish, it might be "blog de @name").

During the Drupal installation phase, some resources used by t() wil not be available to code that needs localization. See st() and get_t() for alternatives.

Parameters

$string A string containing the English string to translate.

$args An associative array of replacements to make after translation. Occurrences in $string of any key in $args are replaced with the corresponding value, after sanitization. The sanitization function depends on the first character of the key:

  • !variable: Inserted as is. Use this for text that has already been sanitized.
  • @variable: Escaped to HTML using check_plain(). Use this for anything displayed on a page on the site.
  • %variable: Escaped as a placeholder for user-submitted content using drupal_placeholder(), which shows up as <em>emphasized</em> text.

$options An associative array of additional options, with the following elements:

  • 'langcode' (defaults to the current language): The language code to translate to a language other than what is used to display the page.
  • 'context' (defaults to the empty context): The context the source string belongs to.

Return value

The translated string.

See also

st()

get_t()

Related topics

▾ 2641 functions call t()

AccessDeniedTestCase::testAccessDenied in modules/system/system.test
ActionExampleTestCase::testActionExample in examples/action_example/action_example.test
Test Action Example.
ActionLoopTestCase::testActionLoop in modules/simpletest/tests/actions.test
Set up a loop with 3 - 12 recursions, and see if it aborts properly.
ActionLoopTestCase::triggerActions in modules/simpletest/tests/actions.test
Create an infinite loop by causing a watchdog message to be set, which causes the actions to be triggered again, up to actions_max_stack times.
ActionsConfigurationTestCase::testActionConfiguration in modules/simpletest/tests/actions.test
Test the configuration of advanced actions through the administration interface.
actions_loop_test_action_info in modules/simpletest/tests/actions_loop_test.module
Implements hook_action_info().
actions_loop_test_trigger_info in modules/simpletest/tests/actions_loop_test.module
Implements hook_trigger_info().
actions_synchronize in includes/actions.inc
Synchronizes actions that are provided by modules in hook_action_info().
action_example_action_info in examples/action_example/action_example.module
Implements hook_action_info().
action_example_basic_action in examples/action_example/action_example.module
Action function for action_example_basic_action.
action_example_node_sticky_action in examples/action_example/action_example.module
Action function for action_example_node_sticky_action.
action_example_node_sticky_action_form in examples/action_example/action_example.module
Generates settings form for action_example_node_sticky_action().
action_example_node_sticky_action_validate in examples/action_example/action_example.module
Validates settings form for action_example_node_sticky_action(). Verifies that user exists before continuing.
action_example_unblock_user_action in examples/action_example/action_example.module
Action function for action_example_unblock_user_action.
AddFeedTestCase::testAddFeed in modules/aggregator/aggregator.test
Create a feed, ensure that it is unique, check the source, and delete the feed.
AdminMetaTagTestCase::testMetaTag in modules/system/system.test
Verify that the meta tag HTML is generated correctly.
AggregatorRenderingTestCase::testBlockLinks in modules/aggregator/aggregator.test
Add a feed block to the page and checks its links.
AggregatorTestCase::createFeed in modules/aggregator/aggregator.test
Create an aggregator feed (simulate form submission on admin/config/services/aggregator/add/feed).
AggregatorTestCase::createSampleNodes in modules/aggregator/aggregator.test
AggregatorTestCase::deleteFeed in modules/aggregator/aggregator.test
Delete an aggregator feed.
AggregatorTestCase::removeFeedItems in modules/aggregator/aggregator.test
Confirm item removal from a feed.
AggregatorTestCase::updateFeedItems in modules/aggregator/aggregator.test
Update feed items (simulate click to admin/config/services/aggregator/update/$fid).
aggregator_admin_form in modules/aggregator/aggregator.admin.inc
Form builder; Configure the aggregator system.
aggregator_admin_remove_feed in modules/aggregator/aggregator.admin.inc
aggregator_aggregator_fetch in modules/aggregator/aggregator.fetcher.inc
Implements hook_aggregator_fetch().
aggregator_aggregator_fetch_info in modules/aggregator/aggregator.fetcher.inc
Implements hook_aggregator_fetch_info().
aggregator_aggregator_parse_info in modules/aggregator/aggregator.parser.inc
Implements hook_aggregator_parse_info().
aggregator_aggregator_process_info in modules/aggregator/aggregator.processor.inc
Implements hook_aggregator_process_info().
aggregator_aggregator_remove in modules/aggregator/aggregator.processor.inc
Implements hook_aggregator_remove().
aggregator_block_configure in modules/aggregator/aggregator.module
Implements hook_block_configure().
aggregator_block_info in modules/aggregator/aggregator.module
Implements hook_block_info().
aggregator_block_view in modules/aggregator/aggregator.module
Implements hook_block_view().
aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Form builder; build the page list form.
aggregator_categorize_items_submit in modules/aggregator/aggregator.pages.inc
Process aggregator_categorize_items() form submissions.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/aggregator.processor.inc
Implements hook_form_aggregator_admin_form_alter().
aggregator_form_category in modules/aggregator/aggregator.admin.inc
Form builder; Generate a form to add/edit/delete aggregator categories.
aggregator_form_category_submit in modules/aggregator/aggregator.admin.inc
Process aggregator_form_category form submissions.
aggregator_form_category_validate in modules/aggregator/aggregator.admin.inc
Validate aggregator_form_feed form submissions.
aggregator_form_feed in modules/aggregator/aggregator.admin.inc
Form builder; Generate a form to add/edit feed sources.
aggregator_form_feed_submit in modules/aggregator/aggregator.admin.inc
Process aggregator_form_feed() form submissions.
aggregator_form_feed_validate in modules/aggregator/aggregator.admin.inc
Validate aggregator_form_feed() form submissions.
aggregator_form_opml in modules/aggregator/aggregator.admin.inc
Form builder; Generate a form to import feeds from OPML.
aggregator_form_opml_submit in modules/aggregator/aggregator.admin.inc
Process aggregator_form_opml form submissions.
aggregator_form_opml_validate in modules/aggregator/aggregator.admin.inc
Validate aggregator_form_opml form submissions.
aggregator_help in modules/aggregator/aggregator.module
Implements hook_help().
aggregator_page_category in modules/aggregator/aggregator.pages.inc
Menu callback; displays all the items aggregated in a particular category.
aggregator_page_last in modules/aggregator/aggregator.pages.inc
Menu callback; displays the most recent items gathered from any feed.
aggregator_page_sources in modules/aggregator/aggregator.pages.inc
Menu callback; displays all the feeds used by the aggregator.
aggregator_parse_feed in modules/aggregator/aggregator.parser.inc
Parse a feed and store its items.
aggregator_permission in modules/aggregator/aggregator.module
Implements hook_permission().
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.
aggregator_view in modules/aggregator/aggregator.admin.inc
Displays the aggregator administration page.
AJAXCommandsTestCase::testAJAXCommands in modules/simpletest/tests/ajax.test
Test the various Ajax Commands.
AJAXElementValidation::testAJAXElementValidation in modules/simpletest/tests/ajax.test
Try to post an Ajax change to a form that has a validated element.
AjaxExampleTestCase::testDynamicSectionsNoJs in examples/ajax_example/ajax_example.test
Check the non-JS version of the "Dynamic Sections" example.
AJAXFrameworkTestCase::testAJAXRender in modules/simpletest/tests/ajax.test
Test that ajax_render() returns JavaScript settings generated during the page request.
AJAXFrameworkTestCase::testAJAXRenderError in modules/simpletest/tests/ajax.test
Test behavior of ajax_render_error().
AJAXMultiFormTestCase::testMultiForm in modules/simpletest/tests/ajax.test
Test that a page with the 'page_node_form' included twice works correctly.
ajax_example_add_more in examples/ajax_example/ajax_example_graceful_degradation.inc
This example shows a button to "add more" - add another textfield, and the corresponding "remove" button.
ajax_example_add_more_submit in examples/ajax_example/ajax_example_graceful_degradation.inc
Final submit handler.
ajax_example_advanced_commands in examples/ajax_example/ajax_example_advanced.inc
Form to display the AJAX Commands.
ajax_example_autocheckboxes in examples/ajax_example/ajax_example.module
AJAX-enabled select element causes replacement of a set of checkboxes based on the selection.
ajax_example_autotextfields in examples/ajax_example/ajax_example.module
Show/hide textfields based on AJAX-enabled checkbox clicks.
ajax_example_dependent_dropdown in examples/ajax_example/ajax_example.module
A form with a dropdown whose options are dependent on a choice made in a previous dropdown.
ajax_example_dependent_dropdown_degrades in examples/ajax_example/ajax_example_graceful_degradation.inc
A form with a dropdown whose options are dependent on a choice made in a previous dropdown.
ajax_example_dependent_dropdown_degrades_submit in examples/ajax_example/ajax_example_graceful_degradation.inc
Submit function for ajax_example_dependent_dropdown_degrades().
ajax_example_dynamic_sections in examples/ajax_example/ajax_example_graceful_degradation.inc
Example of a form with portions dynamically enabled or disabled, but with graceful degradation in the case of no javascript.
ajax_example_dynamic_sections_submit in examples/ajax_example/ajax_example_graceful_degradation.inc
Submit function for ajax_example_dynamic_sections().
ajax_example_dynamic_sections_validate in examples/ajax_example/ajax_example_graceful_degradation.inc
Validation function for ajax_example_dynamic_sections().
ajax_example_intro in examples/ajax_example/ajax_example.module
ajax_example_render_link in examples/ajax_example/ajax_example_misc.inc
Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class.
ajax_example_render_link_ra in examples/ajax_example/ajax_example_misc.inc
Demonstrates a clickable AJAX-enabled link using a renderable array with the #ajax property.
ajax_example_simplest in examples/ajax_example/ajax_example.module
Simple form whose ajax-enabled 'changethis' member causes a text change in the description of the 'replace_textfield' member. See Form API Tutorial
ajax_example_submit_driven_ajax in examples/ajax_example/ajax_example.module
A very basic form which with an AJAX-enabled submit.
ajax_example_wizard in examples/ajax_example/ajax_example_graceful_degradation.inc
This example is a classic wizard, where a different and sequential form is presented on each step of the form.
ajax_example_wizard_submit in examples/ajax_example/ajax_example_graceful_degradation.inc
Submit function for ajax_example_wizard.
ajax_forms_test_ajax_commands_form in modules/simpletest/tests/ajax_forms_test.module
Form to display the Ajax Commands.
ajax_forms_test_simple_form in modules/simpletest/tests/ajax_forms_test.module
A basic form used to test form_state['values'] during callback.
ajax_forms_test_validation_form in modules/simpletest/tests/ajax_forms_test.module
This form and its related submit and callback functions demonstrate not validating another form element when a single Ajax element is triggered.
ajax_forms_test_validation_form_callback in modules/simpletest/tests/ajax_forms_test.module
Ajax callback for the 'drivertext' element of the validation form.
ajax_forms_test_validation_form_submit in modules/simpletest/tests/ajax_forms_test.module
Submit handler for the validation form.
ajax_link_response in examples/ajax_example/ajax_example_misc.inc
Callback for link example.
ajax_prepare_response in includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
ArchiverZip::__construct in modules/system/system.archiver.inc
Constructor for a new archiver instance.
archiver_get_archiver in includes/common.inc
Create the appropriate archiver for the specified file.
authorize_access_denied_page in ./authorize.php
Renders a 403 access denied page for authorize.php.
authorize_filetransfer_form in includes/authorize.inc
Build the form for choosing a FileTransfer type and supplying credentials.
authorize_filetransfer_form_validate in includes/authorize.inc
Validate callback for the filetransfer authorization form.
BasicUpgradePath::testBasicUpgrade in modules/simpletest/tests/upgrade/upgrade.test
Test a successful upgrade.
BasicUpgradePath::testFailedUpgrade in modules/simpletest/tests/upgrade/upgrade.test
Test a failed upgrade, and verify that the failure is reported.
BatchExampleTestCase::testBatchExampleBasic in examples/batch_example/batch_example.test
Login user, create 30 nodes and test both batch examples.
BatchPageTestCase::testBatchProgressPageTheme in modules/simpletest/tests/batch.test
Tests that the batch API progress page uses the correct theme.
BatchPercentagesUnitTestCase::testBatchPercentages in modules/simpletest/tests/batch.test
Test the _batch_api_percentage() function.
BatchProcessingTestCase::testBatchForm in modules/simpletest/tests/batch.test
Test batches defined in a form submit handler.
BatchProcessingTestCase::testBatchFormMultipleBatches in modules/simpletest/tests/batch.test
Test batches defined in different submit handlers on the same form.
BatchProcessingTestCase::testBatchFormMultistep in modules/simpletest/tests/batch.test
Test batches defined in a multistep form.
BatchProcessingTestCase::testBatchFormProgrammatic in modules/simpletest/tests/batch.test
Test batches defined in a programmatically submitted form.
BatchProcessingTestCase::testBatchLargePercentage in modules/simpletest/tests/batch.test
Test batches that return $context['finished'] > 1 do in fact complete. See http://drupal.org/node/600836
BatchProcessingTestCase::testBatchNoForm in modules/simpletest/tests/batch.test
Test batches triggered outside of form submission.
BatchProcessingTestCase::testDrupalFormSubmitInBatch in modules/simpletest/tests/batch.test
Test that drupal_form_submit() can run within a batch operation.
batch_example_batch_1 in examples/batch_example/batch_example.module
Batch 1 definition: Load the node with the lowest nid 1000 times. This creates an operations array defining what batch 1 should do, including what it should do when it's finished. In this case, each operation is the same and by chance even has…
batch_example_batch_2 in examples/batch_example/batch_example.module
Batch 2 : Prepare a batch definition that will load all nodes 20 times.
batch_example_finished in examples/batch_example/batch_example.module
Batch 'finished' callback used by both batch 1 and batch 2.
batch_example_op_1 in examples/batch_example/batch_example.module
Batch operation for batch 1: load a node. This is the function that is called on each operation in batch 1.
batch_example_simple_form in examples/batch_example/batch_example.module
Form builder function to allow choice of which batch to run.
batch_example_update_7100 in examples/batch_example/batch_example.install
Example of batch-driven update function.
batch_test_mock_form in modules/simpletest/tests/batch_test.module
A simple form with a textfield and submit button.
BlockAdminThemeTestCase::testAdminTheme in modules/block/block.test
Check for the accessibility of the admin theme on the block admin page.
BlockCacheTestCase::setCacheMode in modules/block/block.test
Private helper method to set the test block's cache mode.
BlockCacheTestCase::setUp in modules/block/block.test
BlockCacheTestCase::testCacheGlobal in modules/block/block.test
Test DRUPAL_CACHE_GLOBAL.
BlockCacheTestCase::testCachePerPage in modules/block/block.test
Test DRUPAL_CACHE_PER_PAGE.
BlockCacheTestCase::testCachePerRole in modules/block/block.test
Test DRUPAL_CACHE_PER_ROLE.
BlockCacheTestCase::testCachePerUser in modules/block/block.test
Test DRUPAL_CACHE_PER_USER.
BlockCacheTestCase::testNoCache in modules/block/block.test
Test DRUPAL_NO_CACHE.
BlockExampleTestCase::testBlockExampleBasic in examples/block_example/block_example.test
Login user, create an example node, and test block functionality through the admin and user interfaces.
BlockHTMLIdTestCase::setUp in modules/block/block.test
BlockHTMLIdTestCase::testHTMLId in modules/block/block.test
Test valid HTML id.
BlockTemplateSuggestionsUnitTest::testBlockThemeHookSuggestions in modules/block/block.test
Test if template_preprocess_block() handles the suggestions right.
BlockTestCase::moveBlockToRegion in modules/block/block.test
BlockTestCase::testBlock in modules/block/block.test
Test configuring and moving a module-define block to specific regions.
BlockTestCase::testBlockRehash in modules/block/block.test
Test _block_rehash().
BlockTestCase::testBlockVisibility in modules/block/block.test
Test block visibility.
BlockTestCase::testBlockVisibilityListedEmpty in modules/block/block.test
Test block visibility when using "pages" restriction but leaving "pages" textarea empty
BlockTestCase::testBlockVisibilityPerUser in modules/block/block.test
Test user customization of block visibility.
BlockTestCase::testCustomBlock in modules/block/block.test
Test creating custom block, moving it to a specific region and then deleting it.
BlockTestCase::testCustomBlockFormat in modules/block/block.test
Test creating custom block using Full HTML.
block_add_block_form_submit in modules/block/block.admin.inc
Form submission handler for the add block form.
block_add_block_form_validate in modules/block/block.admin.inc
Form validation handler for the add block form.
block_admin_configure in modules/block/block.admin.inc
Form builder for the block configuration form.
block_admin_configure_submit in modules/block/block.admin.inc
Form submission handler for the block configuration form.
block_admin_configure_validate in modules/block/block.admin.inc
Form validation handler for the block configuration form.
block_admin_display_form in modules/block/block.admin.inc
Form builder for the main blocks administration form.
block_admin_display_form_submit in modules/block/block.admin.inc
Form submission handler for the main blocks administration form.
block_custom_block_delete in modules/block/block.admin.inc
Form builder for the custom block deletion form.
block_custom_block_delete_submit in modules/block/block.admin.inc
Form submission handler for the custom block deletion form.
block_custom_block_form in modules/block/block.module
Define the custom block form.
block_example_block_configure in examples/block_example/block_example.module
Implements hook_block_configure().
block_example_block_info in examples/block_example/block_example.module
Implements hook_block_info().
block_example_block_view in examples/block_example/block_example.module
Implements hook_block_view().
block_example_contents in examples/block_example/block_example.module
A module-defined block content function.
block_example_page in examples/block_example/block_example.module
Simple page function to explain what the block example is about.
block_form_system_performance_settings_alter in modules/block/block.module
Implements hook_form_FORM_ID_alter().
block_form_user_profile_form_alter in modules/block/block.module
Implements hook_form_FORM_ID_alter().
block_help in modules/block/block.module
Implements hook_help().
block_page_build in modules/block/block.module
Implements hook_page_build().
block_permission in modules/block/block.module
Implements hook_permission().
block_test_block_info in modules/block/tests/block_test.module
Implements hook_block_info().
BlogTestCase::testBlog in modules/blog/blog.test
Login users, create blog nodes, and test blog functionality through the admin and user interfaces.
BlogTestCase::testBlogPageNoEntries in modules/blog/blog.test
View the blog of a user with no blog entries as another user.
BlogTestCase::testUnprivilegedUser in modules/blog/blog.test
Confirm that the "You are not allowed to post a new blog entry." message shows up if a user submitted blog entries, has been denied that permission, and goes to the blog page.
BlogTestCase::verifyBlogLinks in modules/blog/blog.test
Verify the blog links are displayed to the logged in user.
BlogTestCase::verifyBlogs in modules/blog/blog.test
Verify the logged in user has the desired access to the various blog nodes.
blog_block_configure in modules/blog/blog.module
Implements hook_block_configure().
blog_block_info in modules/blog/blog.module
Implements hook_block_info().
blog_block_view in modules/blog/blog.module
Implements hook_block_view().
blog_feed_last in modules/blog/blog.pages.inc
Menu callback; displays an RSS feed containing recent blog entries of all users.
blog_feed_user in modules/blog/blog.pages.inc
Menu callback; displays an RSS feed containing recent blog entries of a given user.
blog_help in modules/blog/blog.module
Implements hook_help().
blog_menu_local_tasks_alter in modules/blog/blog.module
Implements hook_menu_local_tasks_alter().
blog_node_info in modules/blog/blog.module
Implements hook_node_info().
blog_node_view in modules/blog/blog.module
Implements hook_node_view().
blog_page_last in modules/blog/blog.pages.inc
Menu callback; displays a Drupal page containing recent blog entries of all users.
blog_page_user in modules/blog/blog.pages.inc
Menu callback; displays a Drupal page containing recent blog entries of a given user.
blog_user_view in modules/blog/blog.module
Implements hook_user_view().
blog_view in modules/blog/blog.module
Implements hook_view().
BookTestCase::checkBookNode in modules/book/book.test
Check the outline of sub-pages; previous, up, and next; and printer friendly version.
BookTestCase::createBookNode in modules/book/book.test
Create book node.
BookTestCase::testBook in modules/book/book.test
Test book functionality through node interfaces.
BookTestCase::testBookExport in modules/book/book.test
Tests book export ("printer-friendly version") functionality.
BookTestCase::testBookNavigationBlock in modules/book/book.test
Tests the functionality of the book navigation block.
book_admin_edit in modules/book/book.admin.inc
Build the form to administrate the hierarchy of a single book.
book_admin_edit_submit in modules/book/book.admin.inc
Handle submission of the book administrative page form.
book_admin_edit_validate in modules/book/book.admin.inc
Check that the book has not been changed while using the form.
book_admin_overview in modules/book/book.admin.inc
Returns an administrative overview of all books.
book_admin_settings in modules/book/book.admin.inc
Builds and returns the book settings form.
book_admin_settings_validate in modules/book/book.admin.inc
Validate the book settings form.
book_block_configure in modules/book/book.module
Implements hook_block_configure().
book_block_info in modules/book/book.module
Implements hook_block_info().
book_block_view in modules/book/book.module
Implements hook_block_view().
book_entity_info_alter in modules/book/book.module
Implements hook_entity_info_alter().
book_export in modules/book/book.pages.inc
Menu callback; Generates various representation of a book page and its children.
book_form_node_delete_confirm_alter in modules/book/book.module
Form altering function for the confirm form for a single node deletion.
book_form_node_form_alter in modules/book/book.module
Implements hook_form_BASE_FORM_ID_alter().
book_help in modules/book/book.module
Implements hook_help().
book_node_view_link in modules/book/book.module
Inject links into $node as needed.
book_outline_form in modules/book/book.pages.inc
Build the form to handle all book outline operations via the outline tab.
book_outline_form_submit in modules/book/book.pages.inc
Handles book outline form submissions from the outline tab.
book_permission in modules/book/book.module
Implements hook_permission().
book_remove_form in modules/book/book.pages.inc
Menu callback; builds a form to confirm removal of a node from the book.
book_remove_form_submit in modules/book/book.pages.inc
Confirm form submit function to remove a node from the book.
BootstrapGetFilenameTestCase::testDrupalGetFilename in modules/simpletest/tests/bootstrap.test
Test that drupal_get_filename() works correctly when the file is not found in the database.
BootstrapIPAddressTestCase::testIPAddressHost in modules/simpletest/tests/bootstrap.test
test IP Address and hostname
BootstrapMiscTestCase::testMisc in modules/simpletest/tests/bootstrap.test
Test miscellaneous functions in bootstrap.inc.
BootstrapPageCacheTestCase::testConditionalRequests in modules/simpletest/tests/bootstrap.test
Test support for requests containing If-Modified-Since and If-None-Match headers.
BootstrapPageCacheTestCase::testPageCache in modules/simpletest/tests/bootstrap.test
Test cache headers.
BootstrapPageCacheTestCase::testPageCompression in modules/simpletest/tests/bootstrap.test
Test page compression.
BootstrapResettableStaticTestCase::testDrupalStatic in modules/simpletest/tests/bootstrap.test
Test that a variable reference returned by drupal_static() gets reset when drupal_static_reset() is called.
BootstrapTimerTestCase::testTimer in modules/simpletest/tests/bootstrap.test
Test timer_read() to ensure it properly accumulates time when the timer started and stopped multiple times.
BootstrapVariableTestCase::testVariable in modules/simpletest/tests/bootstrap.test
testVariable
BootstrapVariableTestCase::testVariableDefaults in modules/simpletest/tests/bootstrap.test
Makes sure that the default variable parameter is passed through okay.
CacheClearCase::testClearArray in modules/simpletest/tests/cache.test
Test clearing using an array.
CacheClearCase::testClearCid in modules/simpletest/tests/cache.test
Test clearing using a cid.
CacheClearCase::testClearWildcard in modules/simpletest/tests/cache.test
Test clearing using wildcard.
CacheClearCase::testFlushAllCaches in modules/simpletest/tests/cache.test
Test drupal_flush_all_caches().
CacheGetMultipleUnitTest::testCacheMultiple in modules/simpletest/tests/cache.test
Test cache_get_multiple().
CacheIsEmptyCase::testIsEmpty in modules/simpletest/tests/cache.test
Test clearing using a cid.
CacheSavingCase::checkVariable in modules/simpletest/tests/cache.test
Check or a variable is stored and restored properly.
CacheSavingCase::testNoEmptyCids in modules/simpletest/tests/cache.test
Test no empty cids are written in cache table.
CacheSavingCase::testObject in modules/simpletest/tests/cache.test
Test the saving and restoring of an object.
CascadingStylesheetsTestCase::testAddCssFileWithQueryString in modules/simpletest/tests/common.test
Tests that the query string remains intact when adding CSS files that have query string parameters.
CascadingStylesheetsTestCase::testAddExternal in modules/simpletest/tests/common.test
Tests adding an external stylesheet.
CascadingStylesheetsTestCase::testAddFile in modules/simpletest/tests/common.test
Tests adding a file stylesheet.
CascadingStylesheetsTestCase::testAlter in modules/simpletest/tests/common.test
Tests Locale module's CSS Alter to include RTL overrides.
CascadingStylesheetsTestCase::testDefault in modules/simpletest/tests/common.test
Check default stylesheets as empty.
CascadingStylesheetsTestCase::testRenderExternal in modules/simpletest/tests/common.test
Tests rendering an external stylesheet.
CascadingStylesheetsTestCase::testRenderFile in modules/simpletest/tests/common.test
Tests rendering the stylesheets.
CascadingStylesheetsTestCase::testRenderInlineFullPage in modules/simpletest/tests/common.test
Tests rendering inline stylesheets through a full page request.
CascadingStylesheetsTestCase::testRenderInlineNoPreprocess in modules/simpletest/tests/common.test
Tests rendering inline stylesheets with preprocessing off.
CascadingStylesheetsTestCase::testRenderInlinePreprocess in modules/simpletest/tests/common.test
Tests rendering inline stylesheets with preprocessing on.
CascadingStylesheetsTestCase::testRenderOrder in modules/simpletest/tests/common.test
Test CSS ordering.
CascadingStylesheetsTestCase::testRenderOverride in modules/simpletest/tests/common.test
Test CSS override.
CascadingStylesheetsTestCase::testReset in modules/simpletest/tests/common.test
Makes sure that reseting the CSS empties the cache.
CascadingStylesheetsUnitTest::testLoadCssBasic in modules/simpletest/tests/common.test
Tests basic CSS loading with and without optimization via drupal_load_stylesheet().
CategorizeFeedItemTestCase::testCategorizeFeedItem in modules/aggregator/aggregator.test
If a feed has a category, make sure that the children inherit that categorization.
CategorizeFeedTestCase::testCategorizeFeed in modules/aggregator/aggregator.test
Create a feed and make sure you can add more than one category to it.
ColorTestCase::testValidColor in modules/color/color.test
Test to see if the provided color is valid
ColorTestCase::_testColor in modules/color/color.test
Tests color module functionality using the given theme.
color_form_system_theme_settings_alter in modules/color/color.module
Implements hook_form_FORM_ID_alter().
color_help in modules/color/color.module
Implements hook_help().
color_requirements in modules/color/color.install
Implements hook_requirements().
color_scheme_form in modules/color/color.module
Form callback. Returns the configuration form.
color_scheme_form_submit in modules/color/color.module
Submit handler for color change form.
color_scheme_form_validate in modules/color/color.module
Validation handler for color change form.
CommentActionsTestCase::testCommentPublishUnpublishActions in modules/comment/comment.test
Test comment publish and unpublish actions.
CommentAnonymous::testAnonymous in modules/comment/comment.test
Test anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in modules/comment/comment.test
Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface in modules/comment/comment.test
Test comment approval functionality through node interface.
CommentBlockFunctionalTest::testRecentCommentBlock in modules/comment/comment.test
Test the recent comments block.
CommentContentRebuild::testCommentRebuild in modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentFieldsTest::testCommentDefaultFields in modules/comment/comment.test
Tests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnable in modules/comment/comment.test
Test that comment module works when enabled after a content module.
CommentFieldsTest::testCommentFormat in modules/comment/comment.test
Test that comment module works correctly with plain text format.
CommentHelperCase::deleteComment in modules/comment/comment.test
Delete comment.
CommentHelperCase::performCommentOperation in modules/comment/comment.test
Perform the specified operation on the specified comment.
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
CommentHelperCase::setCommentSettings in modules/comment/comment.test
Set comment setting for article content type.
CommentHelperCase::testCommentNewCommentsIndicator in modules/comment/comment.test
Tests new comment marker.
CommentInterfaceTest::assertCommentLinks in modules/comment/comment.test
Asserts that comment links appear according to the passed environment setup.
CommentInterfaceTest::setEnvironment in modules/comment/comment.test
Re-configures the environment, module settings, and user permissions.
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
CommentInterfaceTest::testCommentNodeCommentStatistics in modules/comment/comment.test
Tests the node comment statistics.
CommentNodeAccessTest::testThreadedCommentView in modules/comment/comment.test
Test that threaded comments can be viewed.
CommentPagerTest::assertCommentOrder in modules/comment/comment.test
Helper function: assert that the comments are displayed in the correct order.
CommentPagerTest::testCommentNewPageIndicator in modules/comment/comment.test
Test comment_new_page_count().
CommentPagerTest::testCommentOrderingThreading in modules/comment/comment.test
Test comment ordering and threading.
CommentPagerTest::testCommentPaging in modules/comment/comment.test
Confirm comment paging works correctly with flat and threaded comments.
CommentPreviewTest::testCommentEditPreviewSave in modules/comment/comment.test
Test comment edit, preview, and save.
CommentPreviewTest::testCommentPreview in modules/comment/comment.test
Test comment preview.
CommentRSSUnitTest::testCommentRSS in modules/comment/comment.test
Test comments as part of an RSS feed.
CommentTokenReplaceTestCase::testCommentTokenReplacement in modules/comment/comment.test
Creates a comment, then tests the tokens generated from it.
CommentUpgradePathTestCase::testCommentUpgrade in modules/simpletest/tests/upgrade/upgrade.comment.test
Test a successful upgrade.
comment_action_info in modules/comment/comment.module
Implements hook_action_info().
comment_admin_overview in modules/comment/comment.admin.inc
Form builder for the comment overview administration form.
comment_admin_overview_submit in modules/comment/comment.admin.inc
Process comment_admin_overview form submissions.
comment_admin_overview_validate in modules/comment/comment.admin.inc
Validate comment_admin_overview form submissions.
comment_approve in modules/comment/comment.pages.inc
Menu callback; publish specified comment.
comment_block_configure in modules/comment/comment.module
Implements hook_block_configure().
comment_block_info in modules/comment/comment.module
Implements hook_block_info().
comment_block_view in modules/comment/comment.module
Implements hook_block_view().
comment_confirm_delete in modules/comment/comment.admin.inc
Form builder; Builds the confirmation form for deleting a single comment.
comment_confirm_delete_submit in modules/comment/comment.admin.inc
Process comment_confirm_delete form submissions.
comment_count_unpublished in modules/comment/comment.module
Returns a menu title which includes the number of unapproved comments.
comment_edit_page in modules/comment/comment.module
Page callback for comment editing.
comment_entity_info in modules/comment/comment.module
Implements hook_entity_info().
comment_field_extra_fields in modules/comment/comment.module
Implements hook_field_extra_fields().
comment_form in modules/comment/comment.module
Generate the basic commenting form, for appending to a node or display on a separate page.
comment_form_node_form_alter in modules/comment/comment.module
Implements hook_form_BASE_FORM_ID_alter().
comment_form_node_type_form_alter in modules/comment/comment.module
Implements hook_form_FORM_ID_alter().
comment_form_submit in modules/comment/comment.module
Process comment form submissions; prepare the comment, store it, and set a redirection target.
comment_form_validate in modules/comment/comment.module
Validate comment form submissions.
comment_help in modules/comment/comment.module
Implements hook_help().
comment_links in modules/comment/comment.module
Helper function, build links for an individual comment.
comment_multiple_delete_confirm in modules/comment/comment.admin.inc
List the selected comments and verify that the admin wants to delete them.
comment_node_view in modules/comment/comment.module
Implements hook_node_view().
comment_permission in modules/comment/comment.module
Implements hook_permission().
comment_preview in modules/comment/comment.module
Generate a comment preview.
comment_ranking in modules/comment/comment.module
Implements hook_ranking().
comment_reply in modules/comment/comment.pages.inc
This function is responsible for generating a comment reply form. There are several cases that have to be handled, including:
comment_submit in modules/comment/comment.module
Prepare a comment for submission.
comment_tokens in modules/comment/comment.tokens.inc
Implements hook_tokens().
comment_token_info in modules/comment/comment.tokens.inc
Implements hook_token_info().
comment_unpublish_by_keyword_action_form in modules/comment/comment.module
Form builder; Prepare a form for blacklisted keywords.
comment_update_7005 in modules/comment/comment.install
Create the comment_body field.
CommonURLUnitTest::testDrupalGetQueryParameters in modules/simpletest/tests/common.test
Test drupal_get_query_parameters().
CommonURLUnitTest::testDrupalHttpBuildQuery in modules/simpletest/tests/common.test
Test drupal_http_build_query().
CommonURLUnitTest::testDrupalParseUrl in modules/simpletest/tests/common.test
Test drupal_parse_url().
CommonURLUnitTest::testExternalUrls in modules/simpletest/tests/common.test
Test external URL handling.
CommonURLUnitTest::testLActiveClass in modules/simpletest/tests/common.test
CommonURLUnitTest::testLCustomClass in modules/simpletest/tests/common.test
Tests for custom class in l() function.
CommonURLUnitTest::testLXSS in modules/simpletest/tests/common.test
Confirm that invalid text given as $path is filtered.
CommonXssUnitTest::testBadProtocolStripping in modules/simpletest/tests/common.test
Check that harmful protocols are stripped.
common_test_cron in modules/simpletest/tests/common_test.module
Implements hook_cron().
confirm_form in modules/system/system.module
Generates a form array for a confirmation form.
ContactPersonalTestCase::submitPersonalContact in modules/contact/contact.test
Fill out a user's personal contact form and submit.
ContactPersonalTestCase::testPersonalContactAccess in modules/contact/contact.test
Test personal contact form access.
ContactPersonalTestCase::testPersonalContactFlood in modules/contact/contact.test
Test the personal contact form flood protection.
ContactSitewideTestCase::addCategory in modules/contact/contact.test
Add a category.
ContactSitewideTestCase::deleteCategories in modules/contact/contact.test
Delete all categories.
ContactSitewideTestCase::submitContact in modules/contact/contact.test
Submit contact form.
ContactSitewideTestCase::testAutoReply in modules/contact/contact.test
Test auto-reply on the site-wide contact form.
ContactSitewideTestCase::testSiteWideContact in modules/contact/contact.test
Test configuration options and site-wide contact form.
ContactSitewideTestCase::updateCategory in modules/contact/contact.test
Update a category.
contact_category_delete_form in modules/contact/contact.admin.inc
Form builder for deleting a contact category.
contact_category_delete_form_submit in modules/contact/contact.admin.inc
Submit handler for the confirm delete category form.
contact_category_edit_form in modules/contact/contact.admin.inc
Category edit page.
contact_category_edit_form_submit in modules/contact/contact.admin.inc
Process the contact category edit page form submission.
contact_category_edit_form_validate in modules/contact/contact.admin.inc
Validate the contact category edit page form submission.
contact_category_list in modules/contact/contact.admin.inc
Categories/list tab.
contact_form_user_admin_settings_alter in modules/contact/contact.module
Implements hook_form_FORM_ID_alter().
contact_form_user_profile_form_alter in modules/contact/contact.module
Implements hook_form_FORM_ID_alter().
contact_help in modules/contact/contact.module
Implements hook_help().
contact_mail in modules/contact/contact.module
Implements hook_mail().
contact_permission in modules/contact/contact.module
Implements hook_permission().
contact_personal_form in modules/contact/contact.pages.inc
Form builder; the personal contact form.
contact_personal_form_submit in modules/contact/contact.pages.inc
Form submission handler for contact_personal_form().
contact_personal_form_validate in modules/contact/contact.pages.inc
Form validation handler for contact_personal_form().
contact_site_form in modules/contact/contact.pages.inc
Form builder; the site-wide contact form.
contact_site_form_submit in modules/contact/contact.pages.inc
Form submission handler for contact_site_form().
contact_site_form_validate in modules/contact/contact.pages.inc
Form validation handler for contact_site_form().
ContextualLinksExampleTestCase::testContextualLinksExample in examples/contextual_links_example/contextual_links_example.test
Test the various contextual links that this module defines and displays.
contextual_help in modules/contextual/contextual.module
Implements hook_help().
contextual_links_example_block_info in examples/contextual_links_example/contextual_links_example.module
Implements hook_block_info().
contextual_links_example_block_view in examples/contextual_links_example/contextual_links_example.module
Implements hook_block_view().
contextual_links_example_node_action_form in examples/contextual_links_example/contextual_links_example.module
Form callback; display the form for performing an example action on a node.
contextual_links_example_node_action_form_submit in examples/contextual_links_example/contextual_links_example.module
Submit handler for contextual_links_example_node_action_form().
contextual_links_example_object_edit_form in examples/contextual_links_example/contextual_links_example.module
Form callback; display the form for editing our module's content.
contextual_links_example_object_edit_form_submit in examples/contextual_links_example/contextual_links_example.module
Submit handler for contextual_links_example_object_edit_form().
contextual_links_example_object_load in examples/contextual_links_example/contextual_links_example.module
Menu loader callback for the object defined by this module.
contextual_permission in modules/contextual/contextual.module
Implements hook_permission().
CronRunTestCase::testAutomaticCron in modules/system/system.test
Ensure that the automatic cron run feature is working.
CronRunTestCase::testCronExceptions in modules/system/system.test
Make sure exceptions thrown on hook_cron() don't affect other modules.
CronRunTestCase::testTempFileCleanup in modules/system/system.test
Ensure that temporary files are removed.
DashboardBlocksTestCase::testBlockAvailability in modules/dashboard/dashboard.test
Test that defining a block with ['properties']['administrative'] = TRUE adds it as an available block for the dashboard.
DashboardBlocksTestCase::testDashboardAccess in modules/dashboard/dashboard.test
Test adding a block to the dashboard and checking access to it.
DashboardBlocksTestCase::testDashboardRegions in modules/dashboard/dashboard.test
Test that dashboard regions are displayed or hidden properly.
DashboardBlocksTestCase::testDisableEnable in modules/dashboard/dashboard.test
Test that the dashboard module can be disabled and enabled again, retaining its blocks.
dashboard_admin in modules/dashboard/dashboard.module
Dashboard page callback.
dashboard_help in modules/dashboard/dashboard.module
Implements hook_help().
dashboard_page_build in modules/dashboard/dashboard.module
Implements hook_page_build().
dashboard_permission in modules/dashboard/dashboard.module
Implements hook_permission().
dashboard_update in modules/dashboard/dashboard.module
Set the new weight of each region according to the drag-and-drop order.
DatabaseAlterTestCase::testAlterChangeConditional in modules/simpletest/tests/database_test.test
Test that we can alter a query's conditionals.
DatabaseAlterTestCase::testAlterChangeFields in modules/simpletest/tests/database_test.test
Test that we can alter the fields of a query.
DatabaseAlterTestCase::testAlterExpression in modules/simpletest/tests/database_test.test
Test that we can alter expressions in the query.
DatabaseAlterTestCase::testAlterRemoveRange in modules/simpletest/tests/database_test.test
Test that we can remove a range() value from a query. This also tests hook_query_TAG_alter().
DatabaseAlterTestCase::testAlterWithJoin in modules/simpletest/tests/database_test.test
Test that we can alter the joins on a query.
DatabaseAlterTestCase::testSimpleAlter in modules/simpletest/tests/database_test.test
Test that we can do basic alters.
DatabaseAlterTestCase::testSimpleAlterSubquery in modules/simpletest/tests/database_test.test
Test that we can do basic alters on subqueries.
DatabaseBasicSyntaxTestCase::testBasicConcat in modules/simpletest/tests/database_test.test
Test for string concatenation.
DatabaseBasicSyntaxTestCase::testFieldConcat in modules/simpletest/tests/database_test.test
Test for string concatenation with field values.
DatabaseBasicSyntaxTestCase::testLikeBackslash in modules/simpletest/tests/database_test.test
Test LIKE query containing a backslash.
DatabaseBasicSyntaxTestCase::testLikeEscape in modules/simpletest/tests/database_test.test
Test escaping of LIKE wildcards.
DatabaseConnectionTestCase::testConnectionClosing in modules/simpletest/tests/database_test.test
Tests the closing of a database connection.
DatabaseConnectionTestCase::testConnectionOptions in modules/simpletest/tests/database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseDeleteTruncateTestCase::testSimpleDelete in modules/simpletest/tests/database_test.test
Confirm that we can delete a single record successfully.
DatabaseDeleteTruncateTestCase::testSubselectDelete in modules/simpletest/tests/database_test.test
Confirm that we can use a subselect in a delete successfully.
DatabaseDeleteTruncateTestCase::testTruncate in modules/simpletest/tests/database_test.test
Confirm that we can truncate a whole table successfully.
DatabaseEmptyStatementTestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseEmptyStatementTestCase::testEmpty in modules/simpletest/tests/database_test.test
Test that the empty result set behaves as empty.
DatabaseEmptyStatementTestCase::testEmptyFetchAll in modules/simpletest/tests/database_test.test
Test that the empty result set mass-fetches in an expected way.
DatabaseEmptyStatementTestCase::testEmptyIteration in modules/simpletest/tests/database_test.test
Test that the empty result set iterates safely.
DatabaseFetch2TestCase::testQueryFetchBoth in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchCol in modules/simpletest/tests/database_test.test
Confirm that we can fetch an entire column of a result set at once.
DatabaseFetch2TestCase::testQueryFetchNum in modules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArray in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClass in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchDefault in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObject in modules/simpletest/tests/database_test.test
Confirm that we can fetch a record to an object explicitly.
DatabaseInsertDefaultsTestCase::testDefaultEmptyInsert in modules/simpletest/tests/database_test.test
Test that no action will be preformed if no fields are specified.
DatabaseInsertDefaultsTestCase::testDefaultInsert in modules/simpletest/tests/database_test.test
Test that we can run a query that is "default values for everything".
DatabaseInsertDefaultsTestCase::testDefaultInsertWithFields in modules/simpletest/tests/database_test.test
Test that we can insert fields with values and defaults in the same query.
DatabaseInsertLOBTestCase::testInsertMultipleBlob in modules/simpletest/tests/database_test.test
Test that we can insert multiple blob fields in the same query.
DatabaseInsertLOBTestCase::testInsertOneBlob in modules/simpletest/tests/database_test.test
Test that we can insert a single blob field successfully.
DatabaseInsertTestCase::testInsertFieldOnlyDefinintion in modules/simpletest/tests/database_test.test
Test that we can specify fields without values and specify values later.
DatabaseInsertTestCase::testInsertLastInsertID in modules/simpletest/tests/database_test.test
Test that inserts return the proper auto-increment ID.
DatabaseInsertTestCase::testInsertSelect in modules/simpletest/tests/database_test.test
Test that the INSERT INTO ... SELECT ... syntax works.
DatabaseInsertTestCase::testMultiInsert in modules/simpletest/tests/database_test.test
Test that we can insert multiple records in one query object.
DatabaseInsertTestCase::testRepeatedInsert in modules/simpletest/tests/database_test.test
Test that an insert object can be reused with new data after it executes.
DatabaseInsertTestCase::testSimpleInsert in modules/simpletest/tests/database_test.test
Test the very basic insert functionality.
DatabaseInvalidDataTestCase::testInsertDuplicateData in modules/simpletest/tests/database_test.test
Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseLoggingTestCase::testEnableLogging in modules/simpletest/tests/database_test.test
Test that we can log the existence of a query.
DatabaseLoggingTestCase::testEnableMultiConnectionLogging in modules/simpletest/tests/database_test.test
Test that we can log queries separately on different connections.
DatabaseLoggingTestCase::testEnableMultiLogging in modules/simpletest/tests/database_test.test
Test that we can run two logs in parallel.
DatabaseLoggingTestCase::testEnableTargetLogging in modules/simpletest/tests/database_test.test
Test that we can log queries against multiple targets on the same connection.
DatabaseLoggingTestCase::testEnableTargetLoggingNoTarget in modules/simpletest/tests/database_test.test
Test that logs to separate targets collapse to the same connection properly.
DatabaseMergeTestCase::testInvalidMerge in modules/simpletest/tests/database_test.test
Test that an invalid merge query throws an exception like it is supposed to.
DatabaseMergeTestCase::testMergeInsert in modules/simpletest/tests/database_test.test
Confirm that we can merge-insert a record successfully.
DatabaseMergeTestCase::testMergeInsertWithoutUpdate in modules/simpletest/tests/database_test.test
Test that we can merge-insert without any update fields.
DatabaseMergeTestCase::testMergeUpdate in modules/simpletest/tests/database_test.test
Confirm that we can merge-update a record successfully.
DatabaseMergeTestCase::testMergeUpdateExcept in modules/simpletest/tests/database_test.test
Confirm that we can merge-update a record successfully, with different insert and update.
DatabaseMergeTestCase::testMergeUpdateExplicit in modules/simpletest/tests/database_test.test
Confirm that we can merge-update a record successfully, with alternate replacement.
DatabaseMergeTestCase::testMergeUpdateExpression in modules/simpletest/tests/database_test.test
Confirm that we can merge-update a record successfully, with expressions.
DatabaseMergeTestCase::testMergeUpdateWithoutUpdate in modules/simpletest/tests/database_test.test
Confirm that we can merge-update without any update fields.
DatabaseNextIdCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseNextIdCase::testDbNextId in modules/simpletest/tests/database_test.test
Test that the sequences API work.
DatabaseQueryTestCase::testArraySubstitution in modules/simpletest/tests/database_test.test
Test that we can specify an array of values in the query by simply passing in an array.
DatabaseRangeQueryTestCase::testRangeQuery in modules/simpletest/tests/database_test.test
Confirm that range query work and return correct result.
DatabaseRegressionTestCase::testDBFieldExists in modules/simpletest/tests/database_test.test
Test the db_field_exists() function.
DatabaseRegressionTestCase::testDBIndexExists in modules/simpletest/tests/database_test.test
Test the db_index_exists() function.
DatabaseRegressionTestCase::testDBTableExists in modules/simpletest/tests/database_test.test
Test the db_table_exists() function.
DatabaseRegressionTestCase::testRegression_310447 in modules/simpletest/tests/database_test.test
Regression test for #310447.
DatabaseSchema::createTable in includes/database/schema.inc
Create a new table from a Drupal table definition.
DatabaseSchema_mysql::addField in includes/database/mysql/schema.inc
Add a new field to a table.
DatabaseSchema_mysql::addIndex in includes/database/mysql/schema.inc
Add an index.
DatabaseSchema_mysql::addPrimaryKey in includes/database/mysql/schema.inc
Add a primary key.
DatabaseSchema_mysql::addUniqueKey in includes/database/mysql/schema.inc
Add a unique key.
DatabaseSchema_mysql::changeField in includes/database/mysql/schema.inc
Change a field definition.
DatabaseSchema_mysql::fieldSetDefault in includes/database/mysql/schema.inc
Set the default value for a field.
DatabaseSchema_mysql::fieldSetNoDefault in includes/database/mysql/schema.inc
Set a field to have no default value.
DatabaseSchema_mysql::renameTable in includes/database/mysql/schema.inc
Rename a table.
DatabaseSchema_pgsql::addField in includes/database/pgsql/schema.inc
Add a new field to a table.
DatabaseSchema_pgsql::addIndex in includes/database/pgsql/schema.inc
Add an index.
DatabaseSchema_pgsql::addPrimaryKey in includes/database/pgsql/schema.inc
Add a primary key.
DatabaseSchema_pgsql::addUniqueKey in includes/database/pgsql/schema.inc
Add a unique key.
DatabaseSchema_pgsql::changeField in includes/database/pgsql/schema.inc
Change a field definition.
DatabaseSchema_pgsql::fieldSetDefault in includes/database/pgsql/schema.inc
Set the default value for a field.
DatabaseSchema_pgsql::fieldSetNoDefault in includes/database/pgsql/schema.inc
Set a field to have no default value.
DatabaseSchema_pgsql::renameTable in includes/database/pgsql/schema.inc
Rename a table.
DatabaseSchema_sqlite::addField in includes/database/sqlite/schema.inc
Add a new field to a table.
DatabaseSchema_sqlite::addIndex in includes/database/sqlite/schema.inc
Add an index.
DatabaseSchema_sqlite::addPrimaryKey in includes/database/sqlite/schema.inc
Add a primary key.
DatabaseSchema_sqlite::addUniqueKey in includes/database/sqlite/schema.inc
Add a unique key.
DatabaseSchema_sqlite::changeField in includes/database/sqlite/schema.inc
Change a field definition.
DatabaseSchema_sqlite::fieldSetDefault in includes/database/sqlite/schema.inc
Set the default value for a field.
DatabaseSchema_sqlite::fieldSetNoDefault in includes/database/sqlite/schema.inc
Set a field to have no default value.
DatabaseSchema_sqlite::renameTable in includes/database/sqlite/schema.inc
Rename a table.
DatabaseSelectComplexTestCase::testCountQuery in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a built query.
DatabaseSelectComplexTestCase::testCountQueryDistinct in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a query with distinct.
DatabaseSelectComplexTestCase::testCountQueryFieldRemovals in modules/simpletest/tests/database_test.test
Test that countQuery properly removes fields and expressions.
DatabaseSelectComplexTestCase::testCountQueryGroupBy in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a query with GROUP BY.
DatabaseSelectComplexTestCase::testCountQueryRemovals in modules/simpletest/tests/database_test.test
Test that countQuery properly removes 'all_fields' statements and ordering clauses.
DatabaseSelectComplexTestCase::testDefaultJoin in modules/simpletest/tests/database_test.test
Test simple JOIN statements.
DatabaseSelectComplexTestCase::testDistinct in modules/simpletest/tests/database_test.test
Test distinct queries.
DatabaseSelectComplexTestCase::testGroupBy in modules/simpletest/tests/database_test.test
Test GROUP BY clauses.
DatabaseSelectComplexTestCase::testGroupByAndHaving in modules/simpletest/tests/database_test.test
Test GROUP BY and HAVING clauses together.
DatabaseSelectComplexTestCase::testJoinTwice in modules/simpletest/tests/database_test.test
Confirm we can join on a single table twice with a dynamic alias.
DatabaseSelectComplexTestCase::testLeftOuterJoin in modules/simpletest/tests/database_test.test
Test LEFT OUTER joins.
DatabaseSelectComplexTestCase::testNestedConditions in modules/simpletest/tests/database_test.test
Confirm that we can properly nest conditional clauses.
DatabaseSelectComplexTestCase::testRange in modules/simpletest/tests/database_test.test
Test range queries. The SQL clause varies with the database.
DatabaseSelectOrderedTestCase::testSimpleSelectMultiOrdered in modules/simpletest/tests/database_test.test
Test multiple order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrdered in modules/simpletest/tests/database_test.test
Test basic order by.
DatabaseSelectOrderedTestCase::testSimpleSelectOrderedDesc in modules/simpletest/tests/database_test.test
Test order by descending.
DatabaseSelectPagerDefaultTestCase::testElementNumbers in modules/simpletest/tests/database_test.test
Confirm that every pager gets a valid non-overlaping element ID.
DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectPagerDefaultTestCase::testHavingPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a paging query with a having expression returns valid results.
DatabaseSelectPagerDefaultTestCase::testInnerPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query with inner pager query returns valid results.
DatabaseSelectPagerDefaultTestCase::testOddPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectSubqueryTestCase::testConditionSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a WHERE clause.
DatabaseSelectSubqueryTestCase::testExistsSubquerySelect in modules/simpletest/tests/database_test.test
Test EXISTS subquery conditionals on SELECT statements.
DatabaseSelectSubqueryTestCase::testFromSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a FROM clause.
DatabaseSelectSubqueryTestCase::testFromSubquerySelectWithLimit in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a FROM clause with a limit.
DatabaseSelectSubqueryTestCase::testJoinSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a JOIN clause.
DatabaseSelectSubqueryTestCase::testNotExistsSubquerySelect in modules/simpletest/tests/database_test.test
Test NOT EXISTS subquery conditionals on SELECT statements.
DatabaseSelectTableSortDefaultTestCase::testTableSortQuery in modules/simpletest/tests/database_test.test
Confirm that a tablesort query returns the correct results.
DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst in modules/simpletest/tests/database_test.test
Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
DatabaseSelectTestCase::testNotNullCondition in modules/simpletest/tests/database_test.test
Test that we can find a record without a NULL value.
DatabaseSelectTestCase::testNullCondition in modules/simpletest/tests/database_test.test
Test that we can find a record with a NULL value.
DatabaseSelectTestCase::testRandomOrder in modules/simpletest/tests/database_test.test
Test that random ordering of queries works.
DatabaseSelectTestCase::testSimpleComment in modules/simpletest/tests/database_test.test
Test rudimentary SELECT statement with a COMMENT.
DatabaseSelectTestCase::testSimpleSelect in modules/simpletest/tests/database_test.test
Test rudimentary SELECT statements.
DatabaseSelectTestCase::testSimpleSelectAllFields in modules/simpletest/tests/database_test.test
Test adding all fields from a given table to a select statement.
DatabaseSelectTestCase::testSimpleSelectConditional in modules/simpletest/tests/database_test.test
Test basic conditionals on SELECT statements.
DatabaseSelectTestCase::testSimpleSelectExpression in modules/simpletest/tests/database_test.test
Test SELECT statements with expressions.
DatabaseSelectTestCase::testSimpleSelectExpressionMultiple in modules/simpletest/tests/database_test.test
Test SELECT statements with multiple expressions.
DatabaseSelectTestCase::testSimpleSelectMultipleFields in modules/simpletest/tests/database_test.test
Test adding multiple fields to a select statement at the same time.
DatabaseSelectTestCase::testUnion in modules/simpletest/tests/database_test.test
Test that we can UNION multiple Select queries together. This is semantically equal to UNION DISTINCT, so we don't explicity test that.
DatabaseSelectTestCase::testUnionAll in modules/simpletest/tests/database_test.test
Test that we can UNION ALL multiple Select queries together.
DatabaseSelectTestCase::testVulnerableComment in modules/simpletest/tests/database_test.test
Test query COMMENT system against vulnerabilities.
DatabaseSerializeQueryTestCase::testSerializeQuery in modules/simpletest/tests/database_test.test
Confirm that a query can be serialized and unserialized.
DatabaseTaggingTestCase::testHasAllTags in modules/simpletest/tests/database_test.test
Test query tagging "has all of these tags" functionality.
DatabaseTaggingTestCase::testHasAnyTag in modules/simpletest/tests/database_test.test
Test query tagging "has at least one of these tags" functionality.
DatabaseTaggingTestCase::testHasTag in modules/simpletest/tests/database_test.test
Confirm that a query has a "tag" added to it.
DatabaseTaggingTestCase::testMetaData in modules/simpletest/tests/database_test.test
Test that we can attach meta data to a query object.
DatabaseTemporaryQueryTestCase::testTemporaryQuery in modules/simpletest/tests/database_test.test
Confirm that temporary tables work and are limited to one request.
DatabaseTestCase::installTables in modules/simpletest/tests/database_test.test
Set up several tables needed by a certain test.
DatabaseTransactionTestCase::assertRowAbsent in modules/simpletest/tests/database_test.test
Assert that a given row is absent from the test table.
DatabaseTransactionTestCase::assertRowPresent in modules/simpletest/tests/database_test.test
Assert that a given row is present in the test table.
DatabaseTransactionTestCase::testCommittedTransaction in modules/simpletest/tests/database_test.test
Test committed transaction.
DatabaseTransactionTestCase::testTransactionRollBackNotSupported in modules/simpletest/tests/database_test.test
Test transaction rollback on a database that does not support transactions.
DatabaseTransactionTestCase::testTransactionRollBackSupported in modules/simpletest/tests/database_test.test
Test transaction rollback on a database that supports transactions.
DatabaseTransactionTestCase::testTransactionStacking in modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::testTransactionWithDdlStatement in modules/simpletest/tests/database_test.test
Test the compatibility of transactions with DDL statements.
DatabaseTransactionTestCase::transactionInnerLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit tests. This "inner layer" transaction is either used alone or nested inside of the "outer layer" transaction.
DatabaseTransactionTestCase::transactionOuterLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit test. This "outer layer" transaction starts and then encapsulates the "inner layer" transaction. This nesting is used to evaluate whether the the database transaction API properly supports…
DatabaseUpdateComplexTestCase::testBetweenConditionUpdate in modules/simpletest/tests/database_test.test
Test BETWEEN conditional clauses.
DatabaseUpdateComplexTestCase::testInConditionUpdate in modules/simpletest/tests/database_test.test
Test WHERE IN clauses.
DatabaseUpdateComplexTestCase::testLikeConditionUpdate in modules/simpletest/tests/database_test.test
Test LIKE conditionals.
DatabaseUpdateComplexTestCase::testNotInConditionUpdate in modules/simpletest/tests/database_test.test
Test WHERE NOT IN clauses.
DatabaseUpdateComplexTestCase::testOrConditionUpdate in modules/simpletest/tests/database_test.test
Test updates with OR conditionals.
DatabaseUpdateComplexTestCase::testUpdateExpression in modules/simpletest/tests/database_test.test
Test update with expression values.
DatabaseUpdateComplexTestCase::testUpdateOnlyExpression in modules/simpletest/tests/database_test.test
Test update with only expression values.
DatabaseUpdateLOBTestCase::testUpdateMultipleBlob in modules/simpletest/tests/database_test.test
Confirm that we can update two blob columns in the same table.
DatabaseUpdateLOBTestCase::testUpdateOneBlob in modules/simpletest/tests/database_test.test
Confirm that we can update a blob column.
DatabaseUpdateTestCase::testExpressionUpdate in modules/simpletest/tests/database_test.test
Test updating with expressions.
DatabaseUpdateTestCase::testMultiGTUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records with a non-equality condition.
DatabaseUpdateTestCase::testMultiUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records successfully.
DatabaseUpdateTestCase::testSimpleNullUpdate in modules/simpletest/tests/database_test.test
Confirm updating to NULL.
DatabaseUpdateTestCase::testSimpleUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a single record successfully.
DatabaseUpdateTestCase::testWhereAndConditionUpdate in modules/simpletest/tests/database_test.test
Confirm that we can stack condition and where calls.
DatabaseUpdateTestCase::testWhereUpdate in modules/simpletest/tests/database_test.test
Confirm that we can update a multiple records with a where call.
database_test_tablesort in modules/simpletest/tests/database_test.module
Run a tablesort query and return the results.
database_test_tablesort_first in modules/simpletest/tests/database_test.module
Run a tablesort query with a second order_by after and return the results.
database_test_theme_tablesort in modules/simpletest/tests/database_test.module
Output a form without setting a header sort.
DateTimeFunctionalTest::testDateFormatConfiguration in modules/system/system.test
Test date format configuration.
DateTimeFunctionalTest::testDateTypeConfiguration in modules/system/system.test
Test date type configuration.
DateTimeFunctionalTest::testTimeZoneHandling in modules/system/system.test
Test time zones and DST handling.
date_validate in includes/form.inc
Validates the date type to stop dates like February 30, 2006.
DBLogTestCase::doNode in modules/dblog/dblog.test
Generate and verify node events.
DBLogTestCase::doUser in modules/dblog/dblog.test
Generate and verify user events.
DBLogTestCase::testDBLogAddAndClear in modules/dblog/dblog.test
Login an admin user, create dblog event, and test clearing dblog functionality through the admin interface.
DBLogTestCase::testFilter in modules/dblog/dblog.test
Test the dblog filter on admin/reports/dblog.
DBLogTestCase::verifyCron in modules/dblog/dblog.test
Verify cron applies the dblog row limit.
DBLogTestCase::verifyReports in modules/dblog/dblog.test
Verify the logged in user has the desired access to the various dblog nodes.
DBLogTestCase::verifyRowLimit in modules/dblog/dblog.test
Verify setting of the dblog row limit.
dblog_clear_log_form in modules/dblog/dblog.admin.inc
Return form for dblog clear button.
dblog_clear_log_submit in modules/dblog/dblog.admin.inc
Submit callback: clear database with log messages.
dblog_event in modules/dblog/dblog.admin.inc
Menu callback; displays details about a log message.
dblog_filters in modules/dblog/dblog.admin.inc
List dblog administration filters that can be applied.
dblog_filter_form in modules/dblog/dblog.admin.inc
Return form for dblog administration filters.
dblog_filter_form_submit in modules/dblog/dblog.admin.inc
Process result from dblog administration filter form.
dblog_filter_form_validate in modules/dblog/dblog.admin.inc
Validate result from dblog administration filter form.
dblog_form_system_logging_settings_alter in modules/dblog/dblog.module
Implements hook_form_FORM_ID_alter().
dblog_help in modules/dblog/dblog.module
Implements hook_help().
dblog_overview in modules/dblog/dblog.admin.inc
Menu callback; displays a listing of log messages.
dblog_top in modules/dblog/dblog.admin.inc
Menu callback; generic function to display a page of the most frequent events.
DBTNGExampleUnitTestCase::testAPIExamples in examples/dbtng_example/dbtng_example.test
Test several combinations, adding entries, updating and deleting.
DBTNGExampleUnitTestCase::testInstall in examples/dbtng_example/dbtng_example.test
Test default module installation, two entries in the database table.
DBTNGExampleUnitTestCase::testUI in examples/dbtng_example/dbtng_example.test
Test the UI.
dbtng_example_advanced_list in examples/dbtng_example/dbtng_example.module
Render a filtered list of entries in the database.
dbtng_example_entry_insert in examples/dbtng_example/dbtng_example.module
Save an entry in the database.
dbtng_example_entry_update in examples/dbtng_example/dbtng_example.module
Update an entry in the database.
dbtng_example_form_add in examples/dbtng_example/dbtng_example.module
Prepare a simple form to add an entry, with all the interesting fields.
dbtng_example_form_add_submit in examples/dbtng_example/dbtng_example.module
Submit handler for 'add entry' form.
dbtng_example_form_update in examples/dbtng_example/dbtng_example.module
Sample UI to update a record.
dbtng_example_form_update_submit in examples/dbtng_example/dbtng_example.module
Submit handler for 'update entry' form.
dbtng_example_help in examples/dbtng_example/dbtng_example.module
Implements hook_help().
dbtng_example_list in examples/dbtng_example/dbtng_example.module
Render a list of entries in the database.
DrupalAddFeedTestCase::testBasicFeedAddNoTitle in modules/simpletest/tests/common.test
Test drupal_add_feed() with paths, URLs, and titles.
DrupalAlterTestCase::testDrupalAlter in modules/simpletest/tests/common.test
DrupalAttributesUnitTest::testDrupalAttributes in modules/simpletest/tests/common.test
Tests that drupal_html_class() cleans the class name properly.
DrupalDataApiTest::testDrupalWriteRecord in modules/simpletest/tests/common.test
Test the drupal_write_record() API function.
DrupalErrorCollectionUnitTest::assertError in modules/simpletest/tests/common.test
Assert that a collected error matches what we are expecting.
DrupalErrorCollectionUnitTest::testErrorCollect in modules/simpletest/tests/common.test
Test that simpletest collects errors from the tested site.
DrupalErrorHandlerUnitTest::assertErrorMessage in modules/simpletest/tests/error.test
Helper function: assert that the error message is found.
DrupalErrorHandlerUnitTest::assertNoErrorMessage in modules/simpletest/tests/error.test
Helper function: assert that the error message is not found.
DrupalErrorHandlerUnitTest::testErrorHandler in modules/simpletest/tests/error.test
Test the error handler.
DrupalErrorHandlerUnitTest::testExceptionHandler in modules/simpletest/tests/error.test
Test the exception handler.
DrupalGetRdfNamespacesTestCase::testGetRdfNamespaces in modules/simpletest/tests/common.test
Test RDF namespaces.
DrupalGotoTest::testDrupalGetDestination in modules/simpletest/tests/common.test
Test drupal_get_destination().
DrupalGotoTest::testDrupalGoto in modules/simpletest/tests/common.test
Test drupal_goto().
DrupalGotoTest::testDrupalGotoAlter in modules/simpletest/tests/common.test
Test hook_drupal_goto_alter().
DrupalHTMLIdentifierTestCase::testDrupalCleanCSSIdentifier in modules/simpletest/tests/common.test
Tests that drupal_clean_css_identifier() cleans the identifier properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLClass in modules/simpletest/tests/common.test
Tests that drupal_html_class() cleans the class name properly.
DrupalHTMLIdentifierTestCase::testDrupalHTMLId in modules/simpletest/tests/common.test
Tests that drupal_html_id() cleans the ID properly.
DrupalHTTPRequestTestCase::testDrupalHTTPRequest in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestBasicAuth in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestRedirect in modules/simpletest/tests/common.test
DrupalJSONTest::testJSON in modules/simpletest/tests/common.test
Tests converting PHP variables to JSON strings and back.
DrupalMatchPathTestCase::testDrupalMatchPath in modules/simpletest/tests/path.test
Run through our test cases, making sure each one works as expected.
DrupalRenderTestCase::assertRenderedElement in modules/simpletest/tests/common.test
DrupalRenderTestCase::testDrupalRenderChildrenAttached in modules/simpletest/tests/common.test
Test #attached functionality in children elements.
DrupalRenderTestCase::testDrupalRenderSorting in modules/simpletest/tests/common.test
Test sorting by weight.
DrupalSetContentTestCase::testRegions in modules/simpletest/tests/common.test
Test setting and retrieving content for theme regions.
DrupalSystemListingTestCase::testDirectoryPrecedence in modules/simpletest/tests/common.test
Test that files in different directories take precedence as expected.
DrupalTagsHandlingTestCase::assertTags in modules/simpletest/tests/common.test
Helper function: asserts that the ending array of tags is what we wanted.
DrupalTestCase::assertEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are equal.
DrupalTestCase::assertFalse in modules/simpletest/drupal_web_test_case.php
Check to see if a value is false (an empty string, 0, NULL, or FALSE).
DrupalTestCase::assertIdentical in modules/simpletest/drupal_web_test_case.php
Check to see if two values are identical.
DrupalTestCase::assertNotEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not equal.
DrupalTestCase::assertNotIdentical in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not identical.
DrupalTestCase::assertNotNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is not NULL.
DrupalTestCase::assertNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is NULL.
DrupalTestCase::assertTrue in modules/simpletest/drupal_web_test_case.php
Check to see if a value is not false (not an empty string, 0, NULL, or FALSE).
DrupalTestCase::exceptionHandler in modules/simpletest/drupal_web_test_case.php
Handle exceptions.
DrupalTestCase::insertAssert in modules/simpletest/drupal_web_test_case.php
Store an assertion from outside the testing context.
DrupalTestCase::run in modules/simpletest/drupal_web_test_case.php
Run all tests in this class.
DrupalTestCase::verbose in modules/simpletest/drupal_web_test_case.php
Logs verbose message in a text file.
DrupalWebTestCase::assertFieldById in modules/simpletest/drupal_web_test_case.php
Asserts that a field exists in the current page with the given id and value.
DrupalWebTestCase::assertFieldByName in modules/simpletest/drupal_web_test_case.php
Asserts that a field exists in the current page with the given name and value.
DrupalWebTestCase::assertFieldChecked in modules/simpletest/drupal_web_test_case.php
Asserts that a checkbox field in the current page is checked.
DrupalWebTestCase::assertLink in modules/simpletest/drupal_web_test_case.php
Pass if a link with the specified label is found, and optional with the specified index.
DrupalWebTestCase::assertLinkByHref in modules/simpletest/drupal_web_test_case.php
Pass if a link containing a given href (part) is found.
DrupalWebTestCase::assertMail in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the given value.
DrupalWebTestCase::assertMailPattern in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the pattern in it.
DrupalWebTestCase::assertMailString in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the string in it.
DrupalWebTestCase::assertNoDuplicateIds in modules/simpletest/drupal_web_test_case.php
Asserts that each HTML ID is used for just a single element.
DrupalWebTestCase::assertNoFieldById in modules/simpletest/drupal_web_test_case.php
Asserts that a field does not exist with the given id and value.
DrupalWebTestCase::assertNoFieldByName in modules/simpletest/drupal_web_test_case.php
Asserts that a field does not exist with the given name and value.
DrupalWebTestCase::assertNoFieldChecked in modules/simpletest/drupal_web_test_case.php
Asserts that a checkbox field in the current page is not checked.
DrupalWebTestCase::assertNoLink in modules/simpletest/drupal_web_test_case.php
Pass if a link with the specified label is not found.
DrupalWebTestCase::assertNoLinkByHref in modules/simpletest/drupal_web_test_case.php
Pass if a link containing a given href (part) is not found.
DrupalWebTestCase::assertNoOptionSelected in modules/simpletest/drupal_web_test_case.php
Asserts that a select option in the current page is not checked.
DrupalWebTestCase::assertNoPattern in modules/simpletest/drupal_web_test_case.php
Will trigger a pass if the perl regex pattern is not present in raw content.
DrupalWebTestCase::assertNoRaw in modules/simpletest/drupal_web_test_case.php
Pass if the raw text is NOT found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
DrupalWebTestCase::assertNoResponse in modules/simpletest/drupal_web_test_case.php
Asserts the page did not return the specified response code.
DrupalWebTestCase::assertNoTitle in modules/simpletest/drupal_web_test_case.php
Pass if the page title is not the given string.
DrupalWebTestCase::assertOptionSelected in modules/simpletest/drupal_web_test_case.php
Asserts that a select option in the current page is checked.
DrupalWebTestCase::assertPattern in modules/simpletest/drupal_web_test_case.php
Will trigger a pass if the Perl regex pattern is found in the raw content.
DrupalWebTestCase::assertRaw in modules/simpletest/drupal_web_test_case.php
Pass if the raw text IS found on the loaded page, fail otherwise. Raw text refers to the raw HTML that the page generated.
DrupalWebTestCase::assertResponse in modules/simpletest/drupal_web_test_case.php
Asserts the page responds with the specified response code.
DrupalWebTestCase::assertTextHelper in modules/simpletest/drupal_web_test_case.php
Helper for assertText and assertNoText.
DrupalWebTestCase::assertTitle in modules/simpletest/drupal_web_test_case.php
Pass if the page title is the given string.
DrupalWebTestCase::assertUrl in modules/simpletest/drupal_web_test_case.php
Pass if the internal browser's URL matches the given path.
DrupalWebTestCase::checkPermissions in modules/simpletest/drupal_web_test_case.php
Check to make sure that the array of permissions are valid.
DrupalWebTestCase::clickLink in modules/simpletest/drupal_web_test_case.php
Follows a link by name.
DrupalWebTestCase::curlExec in modules/simpletest/drupal_web_test_case.php
Initializes and executes a cURL request.
DrupalWebTestCase::drupalCreateContentType in modules/simpletest/drupal_web_test_case.php
Creates a custom content type based on default settings.
DrupalWebTestCase::drupalCreateRole in modules/simpletest/drupal_web_test_case.php
Internal helper function; Create a role with specified permissions.
DrupalWebTestCase::drupalCreateUser in modules/simpletest/drupal_web_test_case.php
Create a user with a given set of permissions. The permissions correspond to the names given on the privileges page.
DrupalWebTestCase::drupalLogin in modules/simpletest/drupal_web_test_case.php
Log in a user with the internal browser.
DrupalWebTestCase::drupalLogout in modules/simpletest/drupal_web_test_case.php
DrupalWebTestCase::drupalPost in 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::parse in modules/simpletest/drupal_web_test_case.php
Parse content returned from curlExec using DOM and SimpleXML.
DrupalWebTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
DrupalWebTestCase::tearDown in 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 in modules/simpletest/drupal_web_test_case.php
Outputs to verbose the most recent $count emails sent.
drupal_check_module in includes/install.inc
Check a module's requirements.
drupal_deliver_html_page in includes/common.inc
Package and send the result of a page callback to the browser as HTML.
drupal_http_request in includes/common.inc
Perform an HTTP request.
drupal_mail in includes/mail.inc
Compose and optionally send an e-mail message.
drupal_mail_system in includes/mail.inc
Returns an object that implements the MailSystemInterface.
drupal_validate_form in includes/form.inc
Validates user-submitted form data from the $form_state using the validate functions defined in a structured form array.
element_validate_integer in includes/form.inc
Helper form element validator: integer.
element_validate_integer_positive in includes/form.inc
Helper form element validator: integer > 0.
element_validate_number in includes/form.inc
Helper form element validator: number.
EmailExampleTestCase::testContactForm in examples/email_example/email_example.test
Verify the functionality of the example module.
email_example_form in examples/email_example/email_example.module
The contact form.
email_example_form_validate in examples/email_example/email_example.module
Form validation logic for the contact form.
email_example_mail in examples/email_example/email_example.module
Implement hook_mail().
email_example_mail_alter in examples/email_example/email_example.module
Implement hook_mail_alter().
email_example_mail_send in examples/email_example/email_example.module
Sends an e-mail.
EnableDisableTestCase::assertSuccessfulDisableAndUninstall in modules/system/system.test
Disables and uninstalls a module and asserts that it was done correctly.
EnableDisableTestCase::testEnableDisable in modules/system/system.test
Test that all core modules can be enabled, disabled and uninstalled.
EntityFieldQuery::addFieldCondition in includes/entity.inc
Adds the given condition to the proper condition array.
EntityFieldQuery::fieldOrderBy in includes/entity.inc
Orders the result set by a given field column.
EntityFieldQuery::propertyQuery in includes/entity.inc
Queries entity tables in SQL for property conditions and sorts.
EntityFieldQuery::queryCallback in includes/entity.inc
Determines the query callback to use for this entity query.
EntityFieldQueryTestCase::testEntityFieldQuery in modules/simpletest/tests/entity_query.test
Tests EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryMetaConditions in modules/simpletest/tests/entity_query.test
Tests field meta conditions.
EntityFieldQueryTestCase::testEntityFieldQueryPager in modules/simpletest/tests/entity_query.test
Tests the pager integration of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryRouting in modules/simpletest/tests/entity_query.test
Tests the routing feature of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryTableSort in modules/simpletest/tests/entity_query.test
Tests the TableSort integration of EntityFieldQuery.
EntityFieldQueryTestCase::testEntityFieldQueryTranslatable in modules/simpletest/tests/entity_query.test
Tests querying translatable fields.
entity_extract_ids in includes/common.inc
Helper function to extract id, vid, and bundle name from an entity.
FeedParserTestCase::testAtomSample in modules/aggregator/aggregator.test
Test a feed that uses the Atom format.
FeedParserTestCase::testRSS091Sample in modules/aggregator/aggregator.test
Test a feed that uses the RSS 0.91 format.
FieldAttachOtherTestCase::testFieldAttachCache in modules/field/tests/field.test
Test field cache.
FieldAttachOtherTestCase::testFieldAttachValidate in modules/field/tests/field.test
Test field_attach_validate().
FieldAttachOtherTestCase::testFieldAttachView in modules/field/tests/field.test
Test field_attach_view() and field_attach_prepare_view().
FieldAttachStorageTestCase::testFieldAttachDelete in modules/field/tests/field.test
Test field_attach_delete().
FieldAttachStorageTestCase::testFieldAttachLoadMultiple in modules/field/tests/field.test
Test the 'multiple' load feature.
FieldAttachStorageTestCase::testFieldAttachSaveLoad in modules/field/tests/field.test
Check field values insert, update and load.
FieldAttachStorageTestCase::testFieldAttachSaveLoadDifferentStorage in modules/field/tests/field.test
Test saving and loading fields using different storage backends.
FieldAttachStorageTestCase::testFieldAttachSaveMissingData in modules/field/tests/field.test
Tests insert and update with missing or NULL fields.
FieldAttachStorageTestCase::testFieldAttachSaveMissingDataDefaultValue in modules/field/tests/field.test
Test insert with missing or NULL fields, with default value.
FieldAttachStorageTestCase::testFieldStorageDetailsAlter in modules/field/tests/field.test
Test storage details alteration.
FieldCrudTestCase::testCreateField in modules/field/tests/field.test
Test the creation of a field.
FieldCrudTestCase::testDeleteField in modules/field/tests/field.test
Test the deletion of a field.
FieldCrudTestCase::testFieldIndexes in modules/field/tests/field.test
Test creation of indexes on data column.
FieldCrudTestCase::testReadField in modules/field/tests/field.test
Test reading back a field definition.
FieldCrudTestCase::testUpdateFieldForbid in modules/field/tests/field.test
Test field type modules forbidding an update.
FieldCrudTestCase::testUpdateFieldType in modules/field/tests/field.test
FieldCrudTestCase::testUpdateNonExistentField in modules/field/tests/field.test
FieldCrudTestCase::_testActiveHelper in modules/field/tests/field.test
Helper function for testActive().
FieldDisplayAPITestCase::testFieldViewField in modules/field/tests/field.test
Test the field_view_field() function.
FieldDisplayAPITestCase::testFieldViewValue in modules/field/tests/field.test
Test the field_view_value() function.
FieldExampleTest::create_field in examples/field_example/field_example.test
Utility function to create fields on a content type.
FieldExampleTest::testExampleFieldBasic in examples/field_example/field_example.test
Test basic functionality of the example field.
FieldFormTestCase::testFieldFormAccess in modules/field/tests/field.test
Tests fields with no 'edit' access.
FieldFormTestCase::testFieldFormJSAddMore in modules/field/tests/field.test
FieldFormTestCase::testFieldFormMultipleWidget in modules/field/tests/field.test
Tests widgets handling multiple values.
FieldFormTestCase::testFieldFormSingle in modules/field/tests/field.test
FieldFormTestCase::testFieldFormSingleRequired in modules/field/tests/field.test
FieldFormTestCase::testFieldFormUnlimited in modules/field/tests/field.test
FieldFormTestCase::testNestedFieldForm in modules/field/tests/field.test
Tests Field API form integration within a subform.
FieldInfoTestCase::testFieldInfo in modules/field/tests/field.test
Test that field types and field definitions are correcly cached.
FieldInfoTestCase::testFieldPrepare in modules/field/tests/field.test
Test that cached field definitions are ready for current runtime context.
FieldInfoTestCase::testInstanceDisabledEntityType in modules/field/tests/field.test
Test that instances on disabled entity types are filtered out.
FieldInfoTestCase::testInstancePrepare in modules/field/tests/field.test
Test that cached instance definitions are ready for current runtime context.
FieldInstanceCrudTestCase::testCreateFieldInstance in modules/field/tests/field.test
Test the creation of a field instance.
FieldInstanceCrudTestCase::testDeleteFieldInstance in modules/field/tests/field.test
Test the deletion of a field instance.
FieldInstanceCrudTestCase::testReadFieldInstance in modules/field/tests/field.test
Test reading back an instance definition.
FieldInstanceCrudTestCase::testUpdateFieldInstance in modules/field/tests/field.test
Test the update of a field instance.
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdate in modules/field/modules/field_sql_storage/field_sql_storage.test
Reads mysql to verify correct data is written when using insert and update.
FieldSqlStorageTestCase::testFieldSqlStorageForeignKeys in modules/field/modules/field_sql_storage/field_sql_storage.test
Test foreign key support.
FieldSqlStorageTestCase::testFieldStorageDetails in modules/field/modules/field_sql_storage/field_sql_storage.test
Test the storage details.
FieldSqlStorageTestCase::testFieldUpdateIndexesWithData in modules/field/modules/field_sql_storage/field_sql_storage.test
Test adding and removing indexes while data is present.
FieldSqlStorageTestCase::testUpdateFieldSchemaWithData in modules/field/modules/field_sql_storage/field_sql_storage.test
Test trying to update a field with data.
FieldTestCase::assertFieldValues in modules/field/tests/field.test
Assert that a field has the expected values in an entity.
FieldTranslationsTestCase::checkTranslationRevisions in modules/field/tests/field.test
Check if the field translation attached to the entity revision identified by the passed arguments were correctly stored.
FieldTranslationsTestCase::testFieldAvailableLanguages in modules/field/tests/field.test
Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage in modules/field/tests/field.test
Tests display language logic for translatable fields.
FieldTranslationsTestCase::testFieldFormTranslationRevisions in modules/field/tests/field.test
Tests field translations when creating a new revision.
FieldTranslationsTestCase::testFieldInvoke in modules/field/tests/field.test
Test the multilanguage logic of _field_invoke().
FieldTranslationsTestCase::testFieldInvokeMultiple in modules/field/tests/field.test
Test the multilanguage logic of _field_invoke_multiple().
FieldTranslationsTestCase::testTranslatableFieldSaveLoad in modules/field/tests/field.test
Test translatable fields storage/retrieval.
FieldUIManageDisplayTestCase::assertNodeViewTextHelper in modules/field_ui/field_ui.test
Helper for assertNodeViewText and assertNodeViewNoText.
FieldUIManageDisplayTestCase::testFormatterUI in modules/field_ui/field_ui.test
Test formatter formatter settings.
FieldUIManageDisplayTestCase::testViewModeCustom in modules/field_ui/field_ui.test
Test switching view modes to use custom or 'default' settings'.
FieldUIManageFieldsTestCase::addExistingField in modules/field_ui/field_ui.test
Test adding an existing field in another content type.
FieldUIManageFieldsTestCase::assertFieldSettings in modules/field_ui/field_ui.test
Assert the field settings.
FieldUIManageFieldsTestCase::createField in modules/field_ui/field_ui.test
Test adding a new field.
FieldUIManageFieldsTestCase::manageFieldsPage in modules/field_ui/field_ui.test
Test the manage fields page.
FieldUIManageFieldsTestCase::testDefaultValue in modules/field_ui/field_ui.test
Tests that default value is correctly validated and saved.
FieldUIManageFieldsTestCase::testDeleteField in modules/field_ui/field_ui.test
Tests that deletion removes fields and instances as expected.
FieldUIManageFieldsTestCase::testHiddenFields in modules/field_ui/field_ui.test
Test that Field UI respects the 'no_ui' option in hook_field_info().
FieldUIManageFieldsTestCase::testRenameBundle in modules/field_ui/field_ui.test
Tests renaming a bundle.
FieldUIManageFieldsTestCase::updateField in modules/field_ui/field_ui.test
Test editing an existing field.
FieldUITestCase::fieldUIAddExistingField in modules/field_ui/field_ui.test
Add an existing field through the Field UI.
FieldUITestCase::fieldUIAddNewField in modules/field_ui/field_ui.test
Create a new field through the Field UI.
FieldUITestCase::fieldUIDeleteField in modules/field_ui/field_ui.test
Delete a field instance through the Field UI.
FieldValidationException::__construct in modules/field/field.attach.inc
Constructor for FieldValidationException.
field_create_field in modules/field/field.crud.inc
Creates a field.
field_create_instance in modules/field/field.crud.inc
Creates an instance of a field, binding it to a bundle.
field_default_validate in modules/field/field.default.inc
Generic field validation handler.
field_example_3text_validate in examples/field_example/field_example.module
Validate the individual fields and then convert them into a single HTML RGB value as text.
field_example_field_formatter_info in examples/field_example/field_example.module
Implements hook_field_formatter_info().
field_example_field_formatter_view in examples/field_example/field_example.module
Implements hook_field_formatter_view().
field_example_field_info in examples/field_example/field_example.module
Implements hook_field_info().
field_example_field_validate in examples/field_example/field_example.module
Implements hook_field_validate().
field_example_field_widget_form in examples/field_example/field_example.module
Implements hook_field_widget_form().
field_example_field_widget_info in examples/field_example/field_example.module
Implements hook_field_widget_info().
field_help in modules/field/field.module
Implements hook_help().
field_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.
field_purge_field in modules/field/field.crud.inc
Purges a field record from the database.
field_sql_storage_field_storage_info in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_info().
field_sql_storage_help in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_help().
field_system_info_alter in modules/field/field.module
Implements hook_system_info_alter().
field_test_entity_add in modules/field/tests/field_test.entity.inc
Menu callback: displays the 'Add new test_entity' form.
field_test_entity_edit in modules/field/tests/field_test.entity.inc
Menu callback: displays the 'Edit exiisting test_entity' form.
field_test_entity_form in modules/field/tests/field_test.entity.inc
Test_entity form.
field_test_entity_form_submit in modules/field/tests/field_test.entity.inc
Submit handler for field_test_entity_form().
field_test_entity_info in modules/field/tests/field_test.entity.inc
Implements hook_entity_info().
field_test_entity_nested_form in modules/field/tests/field_test.entity.inc
Form combining two separate entities.
field_test_entity_nested_form_submit in modules/field/tests/field_test.entity.inc
Submit handler for field_test_entity_nested_form().
field_test_field_formatter_info in modules/field/tests/field_test.field.inc
Implements hook_field_formatter_info().
field_test_field_formatter_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_formatter_settings_form().
field_test_field_formatter_settings_summary in modules/field/tests/field_test.field.inc
Implements hook_field_formatter_settings_summary().
field_test_field_info in modules/field/tests/field_test.field.inc
Implements hook_field_info().
field_test_field_instance_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_instance_settings_form().
field_test_field_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_settings_form().
field_test_field_storage_info in modules/field/tests/field_test.storage.inc
Implements hook_field_storage_info().
field_test_field_validate in modules/field/tests/field_test.field.inc
Implements hook_field_validate().
field_test_field_widget_info in modules/field/tests/field_test.field.inc
Implements hook_field_widget_info().
field_test_field_widget_settings_form in modules/field/tests/field_test.field.inc
Implements hook_field_widget_settings_form().
field_test_menu in modules/field/tests/field_test.module
Implements hook_menu().
field_test_permission in modules/field/tests/field_test.module
Implements hook_permission().
field_ui_default_value_widget in modules/field_ui/field_ui.admin.inc
Build default value fieldset.
field_ui_display_overview_form in modules/field_ui/field_ui.admin.inc
Menu callback; presents field display settings for a given view mode.
field_ui_display_overview_form_submit in modules/field_ui/field_ui.admin.inc
Submit handler for the display overview form.
field_ui_existing_field_options in modules/field_ui/field_ui.admin.inc
Return an array of existing field to be added to a bundle.
field_ui_fields_list in modules/field_ui/field_ui.admin.inc
Menu callback; lists all defined fields for quick reference.
field_ui_field_delete_form in modules/field_ui/field_ui.admin.inc
Menu callback; present a form for removing a field instance from a bundle.
field_ui_field_delete_form_submit in modules/field_ui/field_ui.admin.inc
Removes a field instance from a bundle.
field_ui_field_edit_form in modules/field_ui/field_ui.admin.inc
Menu callback; presents the field instance edit page.
field_ui_field_edit_form_submit in modules/field_ui/field_ui.admin.inc
Form submit handler for field instance settings form.
field_ui_field_overview_form in modules/field_ui/field_ui.admin.inc
Menu callback; listing of fields for a bundle.
field_ui_field_overview_form_submit in modules/field_ui/field_ui.admin.inc
Submit handler for the field overview form.
field_ui_field_settings_form in modules/field_ui/field_ui.admin.inc
Menu callback; presents the field settings edit page.
field_ui_field_settings_form_submit in modules/field_ui/field_ui.admin.inc
Save a field's settings after editing.
field_ui_form_node_type_form_alter in modules/field_ui/field_ui.module
Add a button Save and add fields to Create content type form.
field_ui_help in modules/field_ui/field_ui.module
Implements hook_help().
field_ui_inactive_message in modules/field_ui/field_ui.admin.inc
Helper function to display a message about inactive fields.
field_ui_menu in modules/field_ui/field_ui.module
Implements hook_menu().
field_ui_widget_type_form in modules/field_ui/field_ui.admin.inc
Menu callback; select a widget for the field.
field_ui_widget_type_form_submit in modules/field_ui/field_ui.admin.inc
Submit the change in widget type.
field_update_instance in modules/field/field.crud.inc
Updates an instance of a field.
FileCopyTest::testExistingError in modules/simpletest/tests/file.test
Test that copying over an existing file fails when FILE_EXISTS_ERROR is specified.
FileCopyTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace in modules/simpletest/tests/file.test
Test replacement when copying over a file that already exists.
FileCopyTest::testNormal in modules/simpletest/tests/file.test
Test file copying in the normal, base case.
FileDeleteTest::testInUse in modules/simpletest/tests/file.test
Tries deleting a file that is in use.
FileDeleteTest::testUnused in modules/simpletest/tests/file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileDirectoryTest::testFileCheckDirectoryHandling in modules/simpletest/tests/file.test
Test directory handling functions.
FileDirectoryTest::testFileCreateNewFilepath in modules/simpletest/tests/file.test
This will take a directory and path, and find a valid filepath that is not taken by another file.
FileDirectoryTest::testFileDestination in modules/simpletest/tests/file.test
This will test the filepath for a destination based on passed flags and whether or not the file exists.
FileDirectoryTest::testFileDirectoryTemp in modules/simpletest/tests/file.test
Ensure that the file_directory_temp() function always returns a value.
FileDownloadTest::checkUrl in modules/simpletest/tests/file.test
Download a file from the URL generated by file_create_url().
FileDownloadTest::testPrivateFileTransfer in modules/simpletest/tests/file.test
Test the private file transfer system.
FileDownloadTest::testPublicFileTransfer in modules/simpletest/tests/file.test
Test the public file transfer system.
FileExampleTest::testFileExampleBasic in examples/file_example/file_example.test
Test the basic File Example UI.
FileFieldDisplayTestCase::testNodeDisplay in modules/file/tests/file.test
Test normal formatter display on node display.
FileFieldPathTestCase::testUploadPath in modules/file/tests/file.test
Test normal formatter display on node display.
FileFieldRevisionTestCase::testRevisions in modules/file/tests/file.test
Test creating multiple revisions of a node and managing the attached files.
FileFieldTestCase::assertFileEntryExists in modules/file/tests/file.test
Assert that a file exists in the database.
FileFieldTestCase::assertFileEntryNotExists in modules/file/tests/file.test
Assert that a file does not exist in the database.
FileFieldTestCase::assertFileExists in modules/file/tests/file.test
Assert that a file exists physically on disk.
FileFieldTestCase::assertFileIsPermanent in modules/file/tests/file.test
Assert that a file's status is set to permanent in the database.
FileFieldTestCase::assertFileNotExists in modules/file/tests/file.test
Assert that a file does not exist on disk.
FileFieldTestCase::removeNodeFile in modules/file/tests/file.test
Remove a file from a node.
FileFieldTestCase::replaceNodeFile in modules/file/tests/file.test
Replace a file within a node.
FileFieldTestCase::uploadNodeFile in modules/file/tests/file.test
Upload a file to a node.
FileFieldValidateTestCase::testFileExtension in modules/file/tests/file.test
Test the file extension, do additional checks if mimedetect is installed.
FileFieldValidateTestCase::testFileMaxSize in modules/file/tests/file.test
Test the max file size validator.
FileFieldValidateTestCase::testRequired in modules/file/tests/file.test
Test required property on file fields.
FileFieldWidgetTestCase::testMultiValuedWidget in modules/file/tests/file.test
Tests upload and remove buttons, with and without Ajax, for multiple multi-valued File field.
FileFieldWidgetTestCase::testPrivateFileComment in modules/file/tests/file.test
Tests that download restrictions on private files work on comments.
FileFieldWidgetTestCase::testPrivateFileSetting in modules/file/tests/file.test
Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTestCase::testSingleValuedWidget in modules/file/tests/file.test
Tests upload and remove buttons, with and without Ajax, for a single-valued File field.
FileHookTestCase::assertFileHookCalled in modules/simpletest/tests/file.test
Assert that a hook_file_* hook was called a certain number of times.
FileHookTestCase::assertFileHooksCalled in modules/simpletest/tests/file.test
Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
FileLoadTest::testLoadInvalidStatus in modules/simpletest/tests/file.test
Try to load a non-existent file by status.
FileLoadTest::testLoadMissingFid in modules/simpletest/tests/file.test
Try to load a non-existent file by fid.
FileLoadTest::testLoadMissingFilepath in modules/simpletest/tests/file.test
Try to load a non-existent file by URI.
FileLoadTest::testMultiple in modules/simpletest/tests/file.test
This will test loading file data from the database.
FileLoadTest::testSingleValues in modules/simpletest/tests/file.test
Load a single file and ensure that the correct values are returned.
FileManagedFileElementTestCase::testManagedFile in modules/file/tests/file.test
Tests the managed_file element type.
FileMimeTypeTest::testFileMimeTypeDetection in modules/simpletest/tests/file.test
Test mapping of mimetypes from filenames.
FileMoveTest::testExistingError in modules/simpletest/tests/file.test
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
FileMoveTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
FileMoveTest::testExistingReplace in modules/simpletest/tests/file.test
Test replacement when moving onto a file that already exists.
FileMoveTest::testExistingReplaceSelf in modules/simpletest/tests/file.test
Test replacement when moving onto itself.
FileMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileNameMungingTest::testMungeIgnoreInsecure in modules/simpletest/tests/file.test
If the allow_insecure_uploads variable evaluates to true, the file should come out untouched, no matter how evil the filename.
FileNameMungingTest::testMungeIgnoreWhitelisted in modules/simpletest/tests/file.test
White listed extensions are ignored by file_munge_filename().
FileNameMungingTest::testMunging in modules/simpletest/tests/file.test
Create a file and munge/unmunge the name.
FileNameMungingTest::testUnMunge in modules/simpletest/tests/file.test
Ensure that unmunge gets your name back.
FilePrivateTestCase::testPrivateFile in modules/file/tests/file.test
Uploads a file to a private node, then tests that access is allowed and denied when appropriate.
FileSaveDataTest::testExistingError in modules/simpletest/tests/file.test
Test that file_save_data() fails overwriting an existing file.
FileSaveDataTest::testExistingRename in modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
FileSaveDataTest::testExistingReplace in modules/simpletest/tests/file.test
Test file_save_data() when replacing an existing file.
FileSaveDataTest::testWithFilename in modules/simpletest/tests/file.test
Test the file_save_data() function when a filename is provided.
FileSaveDataTest::testWithoutFilename in modules/simpletest/tests/file.test
Test the file_save_data() function when no filename is provided.
FileSaveTest::testFileSave in modules/simpletest/tests/file.test
FileSaveUploadTest::setUp in modules/simpletest/tests/file.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FileSaveUploadTest::testExistingError in modules/simpletest/tests/file.test
Test for failure when uploading over a file that already exists.
FileSaveUploadTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when uploading over a file that already exists.
FileSaveUploadTest::testExistingReplace in modules/simpletest/tests/file.test
Test replacement when uploading over a file that already exists.
FileSaveUploadTest::testHandleDangerousFile in modules/simpletest/tests/file.test
Test dangerous file handling.
FileSaveUploadTest::testHandleExtension in modules/simpletest/tests/file.test
Test extension handling.
FileSaveUploadTest::testHandleFileMunge in modules/simpletest/tests/file.test
Test file munge handling.
FileSaveUploadTest::testNormal in modules/simpletest/tests/file.test
Test the file_save_upload() function.
FileSaveUploadTest::testNoUpload in modules/simpletest/tests/file.test
Test for no failures when not uploading a file.
FileScanDirectoryTest::testOptionCallback in modules/simpletest/tests/file.test
Check that the callback function is called correctly.
FileScanDirectoryTest::testOptionKey in modules/simpletest/tests/file.test
Check that key parameter sets the return value's key.
FileScanDirectoryTest::testOptionMinDepth in modules/simpletest/tests/file.test
Check that the min_depth options lets us ignore files in the starting directory.
FileScanDirectoryTest::testOptionNoMask in modules/simpletest/tests/file.test
Check that the no-mask parameter is honored.
FileScanDirectoryTest::testOptionRecurse in modules/simpletest/tests/file.test
Check that the recurse option decends into subdirectories.
FileScanDirectoryTest::testReturn in modules/simpletest/tests/file.test
Check the format of the returned values.
FileTestCase::assertDifferentFile in modules/simpletest/tests/file.test
Check that two files are not the same by comparing the fid and filepath.
FileTestCase::assertDirectoryPermissions in modules/simpletest/tests/file.test
Helper function to test the permissions of a directory.
FileTestCase::assertFilePermissions in modules/simpletest/tests/file.test
Helper function to test the permissions of a file.
FileTestCase::assertFileUnchanged in modules/simpletest/tests/file.test
Check that two files have the same values for all fields other than the timestamp.
FileTestCase::assertSameFile in modules/simpletest/tests/file.test
Check that two files are the same by comparing the fid and filepath.
FileTestCase::createDirectory in modules/simpletest/tests/file.test
Create a directory and assert it exists.
FileTestCase::createFile in modules/simpletest/tests/file.test
Create a file and save it to the files table and assert that it occurs correctly.
FileTokenReplaceTestCase::testFileTokenReplacement in modules/file/tests/file.test
Creates a file, then tests the tokens generated from it.
FileTransfer::getSettingsForm in includes/filetransfer/filetransfer.inc
Returns a form to collect connection settings credentials.
FileUnmanagedCopyTest::testNonExistent in modules/simpletest/tests/file.test
Copy a non-existent file.
FileUnmanagedCopyTest::testNormal in modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedDeleteRecursiveTest::testDirectory in modules/simpletest/tests/file.test
Try deleting a directory with some files.
FileUnmanagedDeleteRecursiveTest::testEmptyDirectory in modules/simpletest/tests/file.test
Try deleting an empty directory.
FileUnmanagedDeleteRecursiveTest::testSingleFile in modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedDeleteRecursiveTest::testSubDirectory in modules/simpletest/tests/file.test
Try deleting subdirectories with some files.
FileUnmanagedDeleteTest::testDirectory in modules/simpletest/tests/file.test
Try deleting a directory.
FileUnmanagedDeleteTest::testMissing in modules/simpletest/tests/file.test
Try deleting a missing file.
FileUnmanagedDeleteTest::testNormal in modules/simpletest/tests/file.test
Delete a normal file.
FileUnmanagedMoveTest::testMissing in modules/simpletest/tests/file.test
Try to move a missing file.
FileUnmanagedMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in modules/simpletest/tests/file.test
Try to move a file onto itself.
FileUnmanagedSaveDataTest::testFileSaveData in modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
FileURLRewritingTest::testPublicCreatedFileURL in modules/simpletest/tests/file.test
Test the generating of rewritten public created file URLs.
FileURLRewritingTest::testShippedFileURL in modules/simpletest/tests/file.test
Test the generating of rewritten shipped file URLs.
FileUsageTest::testAddUsage in modules/simpletest/tests/file.test
Tests file_usage_add().
FileUsageTest::testGetUsage in modules/simpletest/tests/file.test
Tests file_usage_list().
FileUsageTest::testRemoveUsage in modules/simpletest/tests/file.test
Tests file_usage_delete().
FileValidateTest::testCallerValidation in modules/simpletest/tests/file.test
Test that the validators passed into are checked.
FileValidatorTest::testFileValidateExtensions in modules/simpletest/tests/file.test
Test the file_validate_extensions() function.
FileValidatorTest::testFileValidateImageResolution in modules/simpletest/tests/file.test
This ensures the resolution of a specific file is within bounds. The image will be resized if it's too large.
FileValidatorTest::testFileValidateIsImage in modules/simpletest/tests/file.test
This ensures a specific file is actually an image.
FileValidatorTest::testFileValidateNameLength in modules/simpletest/tests/file.test
This will ensure the filename length is valid.
FileValidatorTest::testFileValidateSize in modules/simpletest/tests/file.test
Test file_validate_size().
file_ajax_progress in modules/file/file.module
Menu callback for upload progress.
file_ajax_upload in modules/file/file.module
Menu callback; Shared Ajax callback for file uploads and deletions.
file_copy in includes/file.inc
Copies a file to a new location and adds a file record to the database.
file_delete in includes/file.inc
Delete a file and its database record.
file_example_check_directory_submit in examples/file_example/file_example.module
Submit handler to test directory existence. This actually just checks to see if the directory is writable
file_example_create_directory_submit in examples/file_example/file_example.module
Submit handler for directory creation. Here we create a directory and set proper permissions on it using file_prepare_directory().
file_example_delete_directory_submit in examples/file_example/file_example.module
Submit handler for directory deletion.
file_example_delete_submit in examples/file_example/file_example.module
Submit handler to delete a file.
file_example_file_check_exists_submit in examples/file_example/file_example.module
Submit handler to check existence of a file.
file_example_intro in examples/file_example/file_example.module
A simple introduction to the workings of this module.
file_example_managed_write_submit in examples/file_example/file_example.module
Submit handler to write a managed file.
file_example_permission in examples/file_example/file_example.module
Implements hook_permission().
file_example_readwrite in examples/file_example/file_example.module
Form builder function for the file example readwrite and directory creation example.
file_example_read_submit in examples/file_example/file_example.module
Submit handler for reading a stream wrapper.
file_example_session_contents in examples/file_example/file_example.module
A utility function to allow us to see what is in a session "file".
file_example_show_session_contents_submit in examples/file_example/file_example.module
Utility submit function for debugging: Show $_SESSION.
file_example_stream_wrappers in examples/file_example/file_example.module
Implements hook_stream_wrappers(). hook_stream_wrappers() is Drupal's way of exposing the class that PHP will use to provide a new stream wrapper class. In this case, we'll expose the 'session' scheme, so a file reference like…
file_example_unmanaged_php_submit in examples/file_example/file_example.module
file_example_unmanaged_write_submit in examples/file_example/file_example.module
file_field_formatter_info in modules/file/file.field.inc
Implements hook_field_formatter_info().
file_field_info in modules/file/file.field.inc
Implements hook_field_info().
file_field_instance_settings_form in modules/file/file.field.inc
Implements hook_field_instance_settings_form().
file_field_settings_form in modules/file/file.field.inc
Implements hook_field_settings_form().
file_field_widget_form in modules/file/file.field.inc
Implements hook_field_widget_form().
file_field_widget_info in modules/file/file.field.inc
Implements hook_field_widget_info().
file_field_widget_process in modules/file/file.field.inc
An element #process callback for the file_generic field type.
file_field_widget_process_multiple in modules/file/file.field.inc
An element #process callback for a group of file_generic fields.
file_field_widget_settings_form in modules/file/file.field.inc
Implements hook_field_widget_settings_form().
file_help in modules/file/file.module
Implements hook_help().
file_managed_file_process in modules/file/file.module
Process function to expand the managed_file element type.
file_managed_file_save_upload in modules/file/file.module
Given a managed_file element, save any files that have been uploaded into it.
file_managed_file_validate in modules/file/file.module
An #element_validate callback for the managed_file element.
file_module_test_form in modules/file/tests/file_module_test.module
Form builder for testing a 'managed_file' element.
file_module_test_form_submit in modules/file/tests/file_module_test.module
Form submission handler for file_module_test_form().
file_move in includes/file.inc
Move a file to a new location and update the file's database entry.
file_munge_filename in includes/file.inc
Modify a filename as needed for security purposes.
file_requirements in modules/file/file.install
Implements hook_requirements().
file_save_data in includes/file.inc
Save a string to the specified destination and create a database file entry.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
file_test_stream_wrappers in modules/simpletest/tests/file_test.module
Implements hook_stream_wrappers().
file_unmanaged_copy in includes/file.inc
Copies a file to a new location without invoking the file API.
file_unmanaged_save_data in includes/file.inc
Save a string to the specified destination without invoking file API.
file_validate_extensions in includes/file.inc
Check that the filename ends with an allowed extension.
file_validate_image_resolution in includes/file.inc
Verify that image dimensions are within the specified maximum and minimum.
file_validate_is_image in includes/file.inc
Check that the file is recognized by image_get_info() as an image.
file_validate_name_length in includes/file.inc
Check for files with names longer than we can store in the database.
file_validate_size in includes/file.inc
Check that the file's size is below certain limits.
FilterAdminTestCase::testFilterAdmin in modules/filter/filter.test
Test filter administration functionality.
FilterAdminTestCase::testFormatAdmin in modules/filter/filter.test
FilterCRUDTestCase::testTextFormatCRUD in modules/filter/filter.test
Test CRUD operations for text formats and filters.
FilterCRUDTestCase::verifyFilters in modules/filter/filter.test
Verify that filters are properly stored for a text format.
FilterCRUDTestCase::verifyTextFormat in modules/filter/filter.test
Verify that a text format is properly stored.
FilterDefaultFormatTestCase::testDefaultTextFormats in modules/filter/filter.test
FilterExampleTestCase::testFilterExampleBasic in examples/filter_example/filter_example.test
Login user, create an example node, and test blog functionality through the admin and user interfaces.
FilterFormatAccessTestCase::setUp in modules/filter/filter.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FilterFormatAccessTestCase::testFormatPermissions in modules/filter/filter.test
FilterFormatAccessTestCase::testFormatRoles in modules/filter/filter.test
FilterFormatAccessTestCase::testFormatWidgetPermissions in modules/filter/filter.test
Test editing a page using a disallowed text format.
FilterFormatUpgradePathTestCase::testFilterFormatUpgrade in modules/simpletest/tests/upgrade/upgrade.filter.test
Test a successful upgrade.
FilterHooksTestCase::testFilterHooks in modules/filter/filter.test
Test that hooks run correctly on creating, editing, and deleting a text format.
FilterNoFormatTestCase::testCheckMarkupNoFormat in modules/filter/filter.test
FilterSecurityTestCase::testDisableFilterModule in modules/filter/filter.test
Test that filtered content is emptied when an actively used filter module is disabled.
FilterUnitTestCase::assertFilteredString in modules/filter/filter.test
Asserts multiple filter output expectations for multiple input strings.
FilterUnitTestCase::testFilterXSS in modules/filter/filter.test
Tests limiting allowed tags and XSS prevention.
FilterUnitTestCase::testFilterXSSAdmin in modules/filter/filter.test
Test the loose, admin HTML filter.
FilterUnitTestCase::testHtmlCorrectorFilter in modules/filter/filter.test
Test the HTML corrector filter.
FilterUnitTestCase::testHtmlFilter in modules/filter/filter.test
Test filter settings, defaults, access restrictions and similar.
FilterUnitTestCase::testLineBreakFilter in modules/filter/filter.test
Test the line break filter.
FilterUnitTestCase::testNoFollowFilter in modules/filter/filter.test
Test the spam deterrent.
filter_admin_disable in modules/filter/filter.admin.inc
Menu callback; confirm deletion of a format.
filter_admin_disable_submit in modules/filter/filter.admin.inc
Process filter disable form submission.
filter_admin_format_form in modules/filter/filter.admin.inc
Generate a text format form.
filter_admin_format_form_submit in modules/filter/filter.admin.inc
Process text format form submissions.
filter_admin_format_form_validate in modules/filter/filter.admin.inc
Validate text format form submissions.
filter_admin_format_page in modules/filter/filter.admin.inc
Menu callback; Display a text format form.
filter_admin_overview in modules/filter/filter.admin.inc
Menu callback; Displays a list of all text formats and allows them to be rearranged.
filter_admin_overview_submit in modules/filter/filter.admin.inc
filter_example_filter_info in examples/filter_example/filter_example.module
Implements hook_filter_info().
filter_filter_info in modules/filter/filter.module
Implements hook_filter_info().
filter_form_access_denied in modules/filter/filter.module
#pre_render callback for #type 'text_format' to hide field value from prying eyes.
filter_help in modules/filter/filter.module
Implements hook_help().
filter_permission in modules/filter/filter.module
Implements hook_permission().
filter_process_format in modules/filter/filter.module
Expands an element into a base element with text format selector attached.
FormAlterTestCase::testExecutionOrder in modules/simpletest/tests/form.test
Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
FormatDateUnitTest::testAdminDefinedFormatDate in modules/simpletest/tests/common.test
Test admin-defined formats in format_date().
FormatDateUnitTest::testFormatDate in modules/simpletest/tests/common.test
Tests for the format_date() function.
format_interval in includes/common.inc
Format a time interval with the requested granularity.
format_plural in includes/common.inc
Format a string containing a count of items.
format_size in includes/common.inc
Generate a string representation for the given byte count.
format_username in includes/common.inc
Format a username.
FormCheckboxTestCase::testFormCheckbox in modules/simpletest/tests/form.test
FormElementTestCase::testOptions in modules/simpletest/tests/form.test
Tests expansion of #options for #type checkboxes and radios.
FormExampleTestCase::testElementExample in examples/form_example/form_example.test
Test the element_example form for correct behavior.
FormExampleTestCase::testTutorials in examples/form_example/form_example.test
Test each tutorial
FormExampleTestCase::testWizard in examples/form_example/form_example.test
Test Wizard tutorial @TODO improve this using drupal_form_submit
FormsArbitraryRebuildTestCase::testUserRegistrationMultipleField in modules/simpletest/tests/form.test
Tests a rebuild caused by a multiple value field.
FormsElementsLabelsTestCase::testFormLabels in modules/simpletest/tests/form.test
Test form elements, labels, title attibutes and required marks output correctly and have the correct label option class if needed.
FormsElementsTableSelectFunctionalTest::formSubmitHelper in modules/simpletest/tests/form.test
Helper function for the option check test to submit a form while collecting errors.
FormsElementsTableSelectFunctionalTest::testAdvancedSelect in modules/simpletest/tests/form.test
Test the #js_select property.
FormsElementsTableSelectFunctionalTest::testEmptyText in modules/simpletest/tests/form.test
Test the display of the #empty text when #options is an empty array.
FormsElementsTableSelectFunctionalTest::testMultipleFalse in modules/simpletest/tests/form.test
Test the display of radios when #multiple is FALSE.
FormsElementsTableSelectFunctionalTest::testMultipleFalseOptionchecker in modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for radios.
FormsElementsTableSelectFunctionalTest::testMultipleFalseSubmit in modules/simpletest/tests/form.test
Test submission of values when #multiple is FALSE.
FormsElementsTableSelectFunctionalTest::testMultipleTrue in modules/simpletest/tests/form.test
Test the display of checkboxes when #multiple is TRUE.
FormsElementsTableSelectFunctionalTest::testMultipleTrueOptionchecker in modules/simpletest/tests/form.test
Test the whether the option checker gives an error on invalid tableselect values for checkboxes.
FormsElementsTableSelectFunctionalTest::testMultipleTrueSubmit in modules/simpletest/tests/form.test
Test the submission of single and multiple values when #multiple is TRUE.
FormsElementsVerticalTabsFunctionalTest::testJavaScriptOrdering in modules/simpletest/tests/form.test
Ensures that vertical-tabs.js is included before collapse.js.
FormsFileInclusionTestCase::testLoadCustomInclude in modules/simpletest/tests/form.test
Tests loading a custom specified inlcude.
FormsFileInclusionTestCase::testLoadMenuInclude in modules/simpletest/tests/form.test
Tests loading an include specified in hook_menu().
FormsFormStorageTestCase::testForm in modules/simpletest/tests/form.test
Tests using the form in a usual way.
FormsFormStorageTestCase::testFormCached in modules/simpletest/tests/form.test
Tests using the form with an activated $form_state['cache'] property.
FormsFormStorageTestCase::testFormStatePersist in modules/simpletest/tests/form.test
Tests a form using form state without using 'storage' to pass data from the constructor to a submit handler. The data has to persist even when caching gets activated, what may happen when a modules alter the form and adds #ajax properties.
FormsFormStorageTestCase::testValidation in modules/simpletest/tests/form.test
Tests validation when form storage is used.
FormsFormWrapperTestCase::testWrapperCallback in modules/simpletest/tests/form.test
Tests using the form in a usual way.
FormsProgrammaticTestCase::submitForm in modules/simpletest/tests/form.test
Helper function used to programmatically submit the form defined in form_test.module with the given values.
FormsRebuildTestCase::testPreserveFormActionAfterAJAX in modules/simpletest/tests/form.test
Tests that a form's action is retained after an Ajax submission.
FormsRebuildTestCase::testRebuildPreservesValues in modules/simpletest/tests/form.test
Tests preservation of values.
FormStateValuesCleanTestCase::testFormStateValuesClean in modules/simpletest/tests/form.test
Tests form_state_values_clean().
FormsTestCase::assertFormValuesDefault in modules/simpletest/tests/form.test
Assert that the values submitted to a form matches the default values of the elements.
FormsTestCase::testCheckboxProcessing in modules/simpletest/tests/form.test
Test default value handling for checkboxes.
FormsTestCase::testDisabledElements in modules/simpletest/tests/form.test
Test handling of disabled elements.
FormsTestCase::testDisabledMarkup in modules/simpletest/tests/form.test
Verify markup for disabled form elements.
FormsTestCase::testInputForgery in modules/simpletest/tests/form.test
Test Form API protections against input forgery.
FormsTestCase::testRequiredFields in modules/simpletest/tests/form.test
Check several empty values for required forms elements.
FormsTestCase::testSelect in modules/simpletest/tests/form.test
Tests validation of #type 'select' elements.
FormsTriggeringElementTestCase::testAttemptAccessControlBypass in modules/simpletest/tests/form.test
Test that $form_state['triggering_element'] does not get set to a button with #access=FALSE.
FormsTriggeringElementTestCase::testNoButtonInfoInPost in modules/simpletest/tests/form.test
Test the determination of $form_state['triggering_element'] when no button information is included in the POST data, as is sometimes the case when the ENTER key is pressed in a textfield in Internet Explorer.
FormValidationTestCase::testValidate in modules/simpletest/tests/form.test
Tests form alterations by #element_validate, #validate, and form_set_value().
FormValidationTestCase::testValidateLimitErrors in modules/simpletest/tests/form.test
Tests partial form validation through #limit_validation_errors.
form_example_element_demo_form in examples/form_example/form_example_elements.inc
Simple form to demonstrate how to use the various new FAPI elements we've defined.
form_example_element_demo_form_submit in examples/form_example/form_example_elements.inc
Submit handler for form_example_element_demo_form().
form_example_help in examples/form_example/form_example.module
Implements hook_help() to provide a bit of help.
form_example_intro in examples/form_example/form_example.module
form_example_phonenumber_combined_validate in examples/form_example/form_example_elements.inc
Phone number validation function for the combined phonenumber.
form_example_phonenumber_discrete_validate in examples/form_example/form_example_elements.inc
Validation handler for the discrete version of the phone number.
form_example_states_form in examples/form_example/form_example_states.inc
This form shows off the #states system by dynamically showing parts of the form based on the state of other parts.
form_example_states_form_submit in examples/form_example/form_example_states.inc
Submit handler for form_example_states_form().
form_example_tutorial in examples/form_example/form_example_tutorial.inc
Main Form tutorial page.
form_example_tutorial_1 in examples/form_example/form_example_tutorial.inc
This first form function is from the Form Tutorial handbook page
form_example_tutorial_10 in examples/form_example/form_example_tutorial.inc
Example 10: A form with a file upload field.
form_example_tutorial_10_submit in examples/form_example/form_example_tutorial.inc
Submit handler for form_example_tutorial_10().
form_example_tutorial_10_validate in examples/form_example/form_example_tutorial.inc
Validate handler for form_example_tutorial_10().
form_example_tutorial_2 in examples/form_example/form_example_tutorial.inc
This is Example 2, a basic form with a submit button.
form_example_tutorial_3 in examples/form_example/form_example_tutorial.inc
Example 3: A basic form with fieldsets.
form_example_tutorial_4 in examples/form_example/form_example_tutorial.inc
Example 4: Basic form with required fields.
form_example_tutorial_5 in examples/form_example/form_example_tutorial.inc
Example 5: Basic form with additional element attributes.
form_example_tutorial_6 in examples/form_example/form_example_tutorial.inc
Example 6: A basic form with a validate handler.
form_example_tutorial_6_validate in examples/form_example/form_example_tutorial.inc
Now we add a handler/function to validate the data entered into the "year of birth" field to make sure it's between the values of 1900 and 2000. If not, it displays an error. The value report is $form_state['values'] (see…
form_example_tutorial_7 in examples/form_example/form_example_tutorial.inc
Example 7: With a submit handler.
form_example_tutorial_7_submit in examples/form_example/form_example_tutorial.inc
Submit function for form_example_tutorial_7().
form_example_tutorial_7_validate in examples/form_example/form_example_tutorial.inc
Validation function for form_example_tutorial_7().
form_example_tutorial_8 in examples/form_example/form_example_tutorial.inc
Example 8: A simple multistep form with a Next and a Back button.
form_example_tutorial_8_next_validate in examples/form_example/form_example_tutorial.inc
Validate handler for the next button on first page.
form_example_tutorial_8_page_two in examples/form_example/form_example_tutorial.inc
Returns the form for the second page of form_example_tutorial_8().
form_example_tutorial_8_page_two_submit in examples/form_example/form_example_tutorial.inc
The page 2 submit handler.
form_example_tutorial_9 in examples/form_example/form_example_tutorial.inc
Example 9: A form with a dynamically added new fields.
form_example_tutorial_9_submit in examples/form_example/form_example_tutorial.inc
Submit function for form_example_tutorial_9().
form_example_tutorial_9_validate in examples/form_example/form_example_tutorial.inc
Validate function for form_example_tutorial_9().
form_example_wizard in examples/form_example/form_example_wizard.inc
The primary formbuilder function for the wizard form. This is the form that you should call with drupal_get_form() from your code, and it will include the rest of the step forms defined. You are not required to change this function, as this will…
form_example_wizard_location_info in examples/form_example/form_example_wizard.inc
Returns form elements for the 'location info' page of the wizard. This is the second step of the wizard. This step asks for a textfield value: a City. This step also includes a validation declared later.
form_example_wizard_location_info_validate in examples/form_example/form_example_wizard.inc
Custom validation form for the 'location info' page of the wizard.
form_example_wizard_other_info in examples/form_example/form_example_wizard.inc
Returns form elements for the 'other info' page of the wizard. This is the thid and last step of the example wizard.
form_example_wizard_personal_info in examples/form_example/form_example_wizard.inc
Returns form elements for the 'personal info' page of the wizard. This is the first step of the wizard, asking for two textfields: first name and last name.
form_example_wizard_submit in examples/form_example/form_example_wizard.inc
Wizard form submit handler.
form_label_test_form in modules/simpletest/tests/form_test.module
A form for testing form labels and required marks.
form_process_date in includes/form.inc
Roll out a single date element.
form_process_machine_name in includes/form.inc
Processes a machine-readable name form element.
form_process_password_confirm in includes/form.inc
Expand a password_confirm field into two text boxes.
form_process_select in includes/form.inc
Processes a select list form element.
form_process_tableselect in includes/form.inc
Create the correct amount of checkbox or radio elements to populate the table.
form_test_clicked_button_validate in modules/simpletest/tests/form_test.module
Form validation handler for the form_test_clicked_button() form.
form_test_element_validate_name in modules/simpletest/tests/form_test.module
Form element validation handler for 'name' in form_test_validate_form().
form_test_form_rebuild_preserve_values_form in modules/simpletest/tests/form_test.module
Form builder for testing preservation of values during a rebuild.
form_test_form_rebuild_preserve_values_form_submit in modules/simpletest/tests/form_test.module
Form submit handler for form_test_form_rebuild_preserve_values_form().
form_test_form_state_values_clean_form in modules/simpletest/tests/form_test.module
Form builder for form_state_values_clean() test.
form_test_form_user_register_form_alter in modules/simpletest/tests/form_test.module
Implements hook_form_FORM_ID_alter() for the registration form.
form_test_limit_validation_errors_element_validate_test in modules/simpletest/tests/form_test.module
Form element validation handler for the 'test' element.
form_test_limit_validation_errors_form in modules/simpletest/tests/form_test.module
Builds a simple form with a button triggering partial validation.
form_test_load_include_custom in modules/simpletest/tests/form_test.module
Menu callback for testing custom form includes.
form_test_load_include_menu in modules/simpletest/tests/form_test.file.inc
Form constructor for testing FAPI file inclusion of the file specified in hook_menu().
form_test_menu in modules/simpletest/tests/form_test.module
Implements hook_menu().
form_test_programmatic_form_validate in modules/simpletest/tests/form_test.module
Form validation handler for programmatic form submissions.
form_test_state_persist in modules/simpletest/tests/form_test.module
Form constructor for testing form state persistence.
form_test_validate_form_validate in modules/simpletest/tests/form_test.module
Form validation handler for form_test_validate_form().
form_validate_machine_name in includes/form.inc
Form element validation handler for #type 'machine_name'.
ForumTestCase::createForum in modules/forum/forum.test
Create a forum container or a forum.
ForumTestCase::createForumTopic in modules/forum/forum.test
Create forum topic.
ForumTestCase::deleteForum in modules/forum/forum.test
Delete a forum.
ForumTestCase::doAdminTests in modules/forum/forum.test
Run admin tests on the admin user.
ForumTestCase::editForumTaxonomy in modules/forum/forum.test
Edit the forum taxonomy.
ForumTestCase::testAddOrphanTopic in modules/forum/forum.test
Forum nodes should not be created without choosing forum from select list.
ForumTestCase::testEnableForumField in modules/forum/forum.test
Tests disabling and re-enabling forum.
ForumTestCase::testForum in modules/forum/forum.test
Login users, create forum nodes, and test forum functionality through the admin and user interfaces.
ForumTestCase::verifyForums in modules/forum/forum.test
Verify the logged in user has access to a forum nodes.
ForumTestCase::verifyForumView in modules/forum/forum.test
Verify display of forum page.
ForumUpgradePathTestCase::testForumUpgrade in modules/simpletest/tests/upgrade/upgrade.forum.test
Test a successful upgrade (no negotiation).
forum_admin_settings in modules/forum/forum.admin.inc
Form builder for the forum settings page.
forum_block_configure in modules/forum/forum.module
Implements hook_block_configure().
forum_block_info in modules/forum/forum.module
Implements hook_block_info().
forum_block_view in modules/forum/forum.module
Implements hook_block_view().
forum_block_view_pre_render in modules/forum/forum.module
A #pre_render callback. Lists nodes based on the element's #query property. *
forum_confirm_delete in modules/forum/forum.admin.inc
Returns a confirmation page for deleting a forum taxonomy term.
forum_confirm_delete_submit in modules/forum/forum.admin.inc
Implement forms api _submit call. Deletes a forum after confirmation.
forum_enable in modules/forum/forum.install
Implements hook_enable().
forum_form in modules/forum/forum.module
Implements hook_form().
forum_form_alter in modules/forum/forum.module
Implements hook_form_alter().
forum_form_container in modules/forum/forum.admin.inc
Returns a form for adding a container to the forum vocabulary
forum_form_forum in modules/forum/forum.admin.inc
Returns a form for adding a forum to the forum vocabulary
forum_form_main in modules/forum/forum.admin.inc
@file Administrative page callbacks for the forum module.
forum_form_submit in modules/forum/forum.admin.inc
Process forum form and container form submissions.
forum_get_topics in modules/forum/forum.module
forum_help in modules/forum/forum.module
Implements hook_help().
forum_menu_local_tasks_alter in modules/forum/forum.module
Implements hook_menu_local_tasks_alter().
forum_node_info in modules/forum/forum.module
Implements hook_node_info().
forum_node_validate in modules/forum/forum.module
Implements hook_node_validate().
forum_node_view in modules/forum/forum.module
Implements hook_node_view().
forum_overview in modules/forum/forum.admin.inc
Returns an overview list of existing forums and containers
forum_permission in modules/forum/forum.module
Implements hook_permission().
forum_update_7003 in modules/forum/forum.install
Rename field to 'taxonomy_forums'.
FrontPageTestCase::testDrupalIsFrontPage in modules/system/system.test
Test front page functionality.
garland_breadcrumb in themes/garland/template.php
Return a themed breadcrumb trail.
garland_form_system_theme_settings_alter in themes/garland/theme-settings.php
Implements hook_form_FORM_ID_alter().
garland_preprocess_page in themes/garland/template.php
Override or insert variables into the page template.
GraphUnitTest::assertComponents in modules/simpletest/tests/graph.test
Verify expected components in a graph.
GraphUnitTest::assertPaths in modules/simpletest/tests/graph.test
Verify expected paths in a graph.
GraphUnitTest::assertReversePaths in modules/simpletest/tests/graph.test
Verify expected reverse paths in a graph.
GraphUnitTest::assertWeights in modules/simpletest/tests/graph.test
Verify expected order in a graph.
GraphUnitTest::testDepthFirstSearch in modules/simpletest/tests/graph.test
Test depth-first-search features.
HelpTestCase::testHelp in modules/help/help.test
Login users, create dblog events, and test dblog functionality through the admin and user interfaces.
HelpTestCase::verifyHelp in modules/help/help.test
Verify the logged in user has the desired access to the various help nodes and the nodes display help.
help_help in modules/help/help.module
Implements hook_help().
help_main in modules/help/help.admin.inc
Menu callback; prints a page listing a glossary of Drupal terminology.
help_page in modules/help/help.admin.inc
Menu callback; prints a page listing general help for a module.
HookBootExitTestCase::testHookBootExit in modules/simpletest/tests/bootstrap.test
Test calling of hook_boot() and hook_exit().
HookRequirementsTestCase::testHookRequirementsFailure in modules/system/system.test
Assert that a module cannot be installed if it fails hook_requirements().
hook_action_info in modules/system/system.api.php
Declares information about actions.
hook_action_info_alter in modules/system/system.api.php
Alters the actions declared by another module.
hook_aggregator_fetch_info in modules/aggregator/aggregator.api.php
Implement this hook to expose the title and a short description of your fetcher.
hook_aggregator_parse_info in modules/aggregator/aggregator.api.php
Implement this hook to expose the title and a short description of your parser.
hook_aggregator_process_info in modules/aggregator/aggregator.api.php
Implement this hook to expose the title and a short description of your processor.
hook_block_configure in modules/block/block.api.php
Define a configuration form for a block.
hook_block_info in modules/block/block.api.php
Define all blocks provided by the module.
hook_block_view in modules/block/block.api.php
Return a rendered or renderable view of a block.
hook_block_view_MODULE_DELTA_alter in modules/block/block.api.php
Perform alterations to a specific block.
hook_comment_delete in modules/comment/comment.api.php
The comment is being deleted by the moderator.
hook_comment_publish in modules/comment/comment.api.php
The comment is being published by the moderator.
hook_comment_unpublish in modules/comment/comment.api.php
The comment is being unpublished by the moderator.
hook_date_format_types in modules/system/system.api.php
Define additional date types.
hook_entity_info in modules/system/system.api.php
Inform the base system and the Field API about one or more entity types.
hook_field_attach_form in modules/field/field.api.php
Act on field_attach_form().
hook_field_extra_fields in modules/field/field.api.php
Exposes "pseudo-field" components on fieldable entities.
hook_field_formatter_info in modules/field/field.api.php
Expose Field API formatter types.
hook_field_formatter_settings_form in modules/field_ui/field_ui.api.php
Returns form elements for a formatter's settings.
hook_field_formatter_settings_summary in modules/field_ui/field_ui.api.php
Returns a short summary for the current formatter settings of an instance.
hook_field_formatter_view in modules/field/field.api.php
Build a renderable array for a field value.
hook_field_info in modules/field/field.api.php
Define Field API field types.
hook_field_instance_settings_form in modules/field_ui/field_ui.api.php
Add settings to an instance field settings form.
hook_field_settings_form in modules/field_ui/field_ui.api.php
Add settings to a field settings form.
hook_field_storage_info in modules/field/field.api.php
Expose Field API storage backends.
hook_field_validate in modules/field/field.api.php
Validate this module's field data.
hook_field_widget_info in modules/field/field.api.php
Expose Field API widget types.
hook_field_widget_settings_form in modules/field_ui/field_ui.api.php
Add settings to a widget settings form.
hook_filetransfer_info in modules/system/system.api.php
Register information about FileTransfer classes provided by a module.
hook_file_validate in modules/system/system.api.php
Check that files meet a given criteria.
hook_filter_FILTER_settings in modules/filter/filter.api.php
Settings callback for hook_filter_info().
hook_filter_FILTER_tips in modules/filter/filter.api.php
Tips callback for hook_filter_info().
hook_filter_info in modules/filter/filter.api.php
Define content filters.
hook_form in modules/node/node.api.php
Display a node editing form.
hook_form_alter in modules/system/system.api.php
Perform alterations before a form is rendered.
hook_form_BASE_FORM_ID_alter in modules/system/system.api.php
Provide a form-specific alteration for shared forms.
hook_form_FORM_ID_alter in modules/system/system.api.php
Provide a form-specific alteration instead of the global hook_form_alter().
hook_form_system_theme_settings_alter in modules/system/theme.api.php
Allow themes to alter the theme-specific settings form.
hook_help in modules/help/help.api.php
Provide online user help.
hook_image_effect_info in modules/image/image.api.php
Define information about image effects provided by a module.
hook_image_toolkits in modules/system/system.api.php
Define image toolkits provided by this module.
hook_language_negotiation_info in modules/locale/locale.api.php
Allow modules to define their own language providers.
hook_language_types_info in modules/locale/locale.api.php
Allow modules to define their own language types.
hook_language_types_info_alter in modules/locale/locale.api.php
Perform alterations on language types.
hook_locale in modules/locale/locale.api.php
Allows modules to define their own text groups that can be translated.
hook_mail_alter in modules/system/system.api.php
Alter an email message created with the drupal_mail() function.
hook_menu_contextual_links_alter in modules/system/system.api.php
Alter contextual links before they are rendered.
hook_menu_local_tasks_alter in modules/system/system.api.php
Alter tabs and actions displayed on the page before they are rendered.
hook_modules_enabled in modules/system/system.api.php
Perform necessary actions after modules are enabled.
hook_node_info in modules/node/node.api.php
Define module-provided node types.
hook_node_operations in modules/node/node.api.php
Add mass node operations.
hook_node_validate in modules/node/node.api.php
Perform node validation before a node is created or updated.
hook_options_list in modules/field/modules/options/options.api.php
Returns the list of options to be displayed for a field.
hook_page_alter in modules/system/system.api.php
Perform alterations before a page is rendered.
hook_page_build in modules/system/system.api.php
Add elements to a page before it is rendered.
hook_permission in modules/system/system.api.php
Define user permissions.
hook_prepare in modules/node/node.api.php
Act on a node object about to be shown on the add/edit form.
hook_ranking in modules/node/node.api.php
Provide additional methods of scoring for core search results for nodes.
hook_search_admin in modules/search/search.api.php
Add elements to the search settings form.
hook_stream_wrappers in modules/system/system.api.php
Registers PHP stream wrapper implementations associated with a module.
hook_stream_wrappers_alter in modules/system/system.api.php
Alters the list of PHP stream wrapper implementations.
hook_system_themes_page_alter in modules/system/system.api.php
Alters theme operation links.
hook_tokens in modules/system/system.api.php
Provide replacement values for placeholder tokens.
hook_token_info in modules/system/system.api.php
Provide information about available placeholder tokens and token types.
hook_token_info_alter in modules/system/system.api.php
Alter the metadata about available placeholder tokens and token types.
hook_trigger_info in modules/trigger/trigger.api.php
Declare triggers (events) for users to assign actions to.
hook_trigger_info_alter in modules/trigger/trigger.api.php
Alter triggers declared by hook_trigger_info().
hook_updater_info in modules/system/system.api.php
Provide information on Updaters (classes that can update Drupal).
hook_update_N in modules/system/system.api.php
Perform a single update.
hook_update_status_alter in modules/update/update.api.php
Alter the information about available updates for projects.
hook_username_alter in modules/system/system.api.php
Alter the username that is displayed for a user.
hook_user_cancel_methods_alter in modules/user/user.api.php
Modify account cancellation methods.
hook_user_categories in modules/user/user.api.php
Retrieve a list of user setting or profile information categories.
hook_user_login in modules/user/user.api.php
The user just logged in.
hook_user_operations in modules/user/user.api.php
Add mass user operations.
hook_user_view in modules/user/user.api.php
The user's account information is being displayed.
hook_validate in modules/node/node.api.php
Perform node validation before a node is created or updated.
hook_verify_update_archive in modules/update/update.api.php
Verify an archive after it has been downloaded and extracted.
hook_view in modules/node/node.api.php
Display a node.
hook_watchdog in modules/system/system.api.php
Log an event message
hook_xmlrpc in modules/system/system.api.php
Register XML-RPC callbacks.
ImageAdminStylesUnitTest::testDefaultStyle in modules/image/image.test
Test to override, edit, then revert a style.
ImageAdminStylesUnitTest::testStyle in modules/image/image.test
General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesUnitTest::testStyleReplacement in modules/image/image.test
Test deleting a style and choosing a replacement style.
ImageEffectsUnitTest::testCropEffect in modules/image/image.test
Test the image_crop_effect() function.
ImageEffectsUnitTest::testDesaturateEffect in modules/image/image.test
Test the image_desaturate_effect() function.
ImageEffectsUnitTest::testResizeEffect in modules/image/image.test
Test the image_resize_effect() function.
ImageEffectsUnitTest::testRotateEffect in modules/image/image.test
Test the image_rotate_effect() function.
ImageEffectsUnitTest::testScaleAndCropEffect in modules/image/image.test
Test the image_scale_and_crop_effect() function.
ImageEffectsUnitTest::testScaleEffect in modules/image/image.test
Test the image_scale_effect() function.
ImageExampleTestCase::testImageExample in examples/image_example/image_example.test
Test implementations of image API hooks.
ImageExampleTestCase::testImageExamplePage in examples/image_example/image_example.test
Tests for image block provided by module.
ImageFieldDisplayTestCase::testImageFieldDefaultImage in modules/image/image.test
Test use of a default image with an image field.
ImageFieldDisplayTestCase::testImageFieldSettings in modules/image/image.test
Tests for image field settings.
ImageFieldDisplayTestCase::_testImageFieldFormatters in modules/image/image.test
Test image formatters on node display.
ImageFieldTestCase::uploadNodeImage in modules/image/image.test
Upload an image to a node.
ImageFieldValidateTestCase::testResolution in modules/image/image.test
Test min/max resolution settings.
ImageStylesPathAndUrlUnitTest::testImageStylePath in modules/image/image.test
Test image_style_path().
ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in modules/image/image.test
Test image_style_url().
ImageToolkitGdTestCase::testManipulations in modules/simpletest/tests/image.test
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
ImageToolkitTestCase::assertToolkitOperationsCalled in modules/simpletest/tests/image.test
Assert that all of the specified image toolkit operations were called exactly once once, other values result in failure.
ImageToolkitUnitTest::testCrop in modules/simpletest/tests/image.test
Test the image_crop() function.
ImageToolkitUnitTest::testDesaturate in modules/simpletest/tests/image.test
Test the image_desaturate() function.
ImageToolkitUnitTest::testGetAvailableToolkits in modules/simpletest/tests/image.test
Check that hook_image_toolkits() is called and only available toolkits are returned.
ImageToolkitUnitTest::testLoad in modules/simpletest/tests/image.test
Test the image_load() function.
ImageToolkitUnitTest::testResize in modules/simpletest/tests/image.test
Test the image_resize() function.
ImageToolkitUnitTest::testRotate in modules/simpletest/tests/image.test
Test the image_rotate() function.
ImageToolkitUnitTest::testSave in modules/simpletest/tests/image.test
Test the image_save() function.
ImageToolkitUnitTest::testScale in modules/simpletest/tests/image.test
Test the image_scale() function.
ImageToolkitUnitTest::testScaleAndCrop in modules/simpletest/tests/image.test
Test the image_scale_and_crop() function.
image_crop_form in modules/image/image.admin.inc
Form structure for the image crop form.
image_effect_color_validate in modules/image/image.admin.inc
Element validate handler to ensure a hexadecimal color value.
image_effect_delete_form in modules/image/image.admin.inc
Form builder; Form for deleting an image effect.
image_effect_delete_form_submit in modules/image/image.admin.inc
Submit handler to delete an image effect.
image_effect_form in modules/image/image.admin.inc
Form builder; Form for adding and editing image effects.
image_effect_form_submit in modules/image/image.admin.inc
Submit handler for updating an image effect.
image_effect_integer_validate in modules/image/image.admin.inc
Element validate handler to ensure an integer pixel value.
image_effect_scale_validate in modules/image/image.admin.inc
Element validate handler to ensure that either a height or a width is specified.
image_example_colorize_form in examples/image_example/image_example.module
Form Builder; Configuration settings for colorize effect.
image_example_help in examples/image_example/image_example.module
Implements hook_help().
image_example_image_effect_info in examples/image_example/image_example.module
Implements hook_image_effect_info().
image_example_image_styles_alter in examples/image_example/image_example.module
Implements hook_image_styles_alter().
image_example_style_form in examples/image_example/image_example.pages.inc
Form for uploading and displaying an image using selected style.
image_example_style_form_submit in examples/image_example/image_example.pages.inc
Form Builder; Display a form for uploading an image.
image_example_style_form_validate in examples/image_example/image_example.pages.inc
Verifies that the user supplied an image with the form..
image_field_formatter_info in modules/image/image.field.inc
Implements hook_field_formatter_info().
image_field_formatter_settings_form in modules/image/image.field.inc
Implements hook_field_formatter_settings_form().
image_field_formatter_settings_summary in modules/image/image.field.inc
Implements hook_field_formatter_settings_summary().
image_field_info in modules/image/image.field.inc
Implements hook_field_info().
image_field_instance_settings_form in modules/image/image.field.inc
Implements hook_field_instance_settings_form().
image_field_settings_form in modules/image/image.field.inc
Implements hook_field_settings_form().
image_field_widget_info in modules/image/image.field.inc
Implements hook_field_widget_info().
image_field_widget_process in modules/image/image.field.inc
An element #process callback for the image_image field type.
image_field_widget_settings_form in modules/image/image.field.inc
Implements hook_field_widget_settings_form().
image_gd_settings in modules/system/image.gd.inc
Retrieve settings for the GD2 toolkit.
image_gd_settings_validate in modules/system/image.gd.inc
Validate the submitted GD settings.
image_help in modules/image/image.module
Implement of hook_help().
image_image_effect_info in modules/image/image.effects.inc
Implements hook_image_effect_info().
image_permission in modules/image/image.module
Implements hook_permission().
image_requirements in modules/image/image.install
Implements hook_requirements() to check the PHP GD Library.
image_resize_form in modules/image/image.admin.inc
Form structure for the image resize form.
image_rotate_form in modules/image/image.admin.inc
Form structure for the image rotate form.
image_scale_form in modules/image/image.admin.inc
Form structure for the image scale form.
image_style_add_form in modules/image/image.admin.inc
Form builder; Form for adding a new image style.
image_style_add_form_submit in modules/image/image.admin.inc
Submit handler for adding a new image style.
image_style_delete_form in modules/image/image.admin.inc
Form builder; Form for deleting an image style.
image_style_delete_form_submit in modules/image/image.admin.inc
Submit handler to delete an image style.
image_style_deliver in modules/image/image.module
Menu callback; Given a style and image path, generate a derivative.
image_style_form in modules/image/image.admin.inc
Form builder; Edit an image style name and effects order.
image_style_form_add_submit in modules/image/image.admin.inc
Submit handler for adding a new image effect to an image style.
image_style_form_add_validate in modules/image/image.admin.inc
Validate handler for adding a new image effect to an image style.
image_style_form_override_submit in modules/image/image.admin.inc
Submit handler for overriding a module-defined style.
image_style_form_submit in modules/image/image.admin.inc
Submit handler for saving an image style.
image_style_name_validate in modules/image/image.admin.inc
Element validate function to ensure unique, URL safe style names.
image_style_options in modules/image/image.module
Get an array of image styles suitable for using as select list options.
image_style_revert_form in modules/image/image.admin.inc
Confirmation form to revert a database style to its default.
image_style_revert_form_submit in modules/image/image.admin.inc
Submit handler to convert an overridden style to its default.
image_test_image_toolkits in modules/simpletest/tests/image_test.module
Implements hook_image_toolkits().
ImportOPMLTestCase::openImportForm in modules/aggregator/aggregator.test
Open OPML import form.
ImportOPMLTestCase::submitImportForm in modules/aggregator/aggregator.test
Submit form with invalid, empty and valid OPML files.
ImportOPMLTestCase::validateImportFormFields in modules/aggregator/aggregator.test
Submit form filled with invalid fields.
InfoFileParserTestCase::testDrupalParseInfoFormat in modules/system/system.test
Test drupal_parse_info_format().
IPAddressBlockingTestCase::testIPAddressValidation in modules/system/system.test
Test a variety of user input to confirm correct validation and saving of data.
JavaScriptTestCase::testAddExternal in modules/simpletest/tests/common.test
Tests adding an external JavaScript File.
JavaScriptTestCase::testAddFile in modules/simpletest/tests/common.test
Test adding a JavaScript file.
JavaScriptTestCase::testAddInline in modules/simpletest/tests/common.test
Test adding inline scripts.
JavaScriptTestCase::testAddJsFileWithQueryString in modules/simpletest/tests/common.test
Tests that the query string remains intact when adding JavaScript files that have query string parameters.
JavaScriptTestCase::testAddSetting in modules/simpletest/tests/common.test
Test adding settings.
JavaScriptTestCase::testAlter in modules/simpletest/tests/common.test
Test altering a JavaScript's weight via hook_js_alter().
JavaScriptTestCase::testAttachedLibrary in modules/simpletest/tests/common.test
Tests the addition of libraries through the #attached['library'] property.
JavaScriptTestCase::testDefault in modules/simpletest/tests/common.test
Test default JavaScript is empty.
JavaScriptTestCase::testDifferentGroup in modules/simpletest/tests/common.test
Test adding a JavaScript file with a different group.
JavaScriptTestCase::testDifferentWeight in modules/simpletest/tests/common.test
Test adding a JavaScript file with a different weight.
JavaScriptTestCase::testFooterHTML in modules/simpletest/tests/common.test
Test drupal_get_js() with a footer scope.
JavaScriptTestCase::testGetLibrary in modules/simpletest/tests/common.test
Tests retrieval of libraries via drupal_get_library().
JavaScriptTestCase::testHeaderSetting in modules/simpletest/tests/common.test
Test drupal_get_js() for JavaScript settings.
JavaScriptTestCase::testLibraryAlter in modules/simpletest/tests/common.test
Adds a JavaScript library to the page and alters it.
JavaScriptTestCase::testLibraryNameConflicts in modules/simpletest/tests/common.test
Tests that multiple modules can implement the same library.
JavaScriptTestCase::testLibraryRender in modules/simpletest/tests/common.test
Adds a library to the page and tests for both its JavaScript and its CSS.
JavaScriptTestCase::testLibraryUnknown in modules/simpletest/tests/common.test
Tests non-existing libraries.
JavaScriptTestCase::testNoCache in modules/simpletest/tests/common.test
Test drupal_add_js() sets preproccess to false when cache is set to false.
JavaScriptTestCase::testRenderDifferentWeight in modules/simpletest/tests/common.test
Test rendering the JavaScript with a file's weight above jQuery's.
JavaScriptTestCase::testRenderExternal in modules/simpletest/tests/common.test
Test rendering an external JavaScript file.
JavaScriptTestCase::testRenderOrder in modules/simpletest/tests/common.test
Test JavaScript ordering.
JavaScriptTestCase::testReset in modules/simpletest/tests/common.test
Test to see if resetting the JavaScript empties the cache.
js_example_accordion in examples/js_example/js_example.module
js_example_accordion implementation.
language_negotiation_info in includes/language.inc
Return all the defined language providers.
ListFieldTestCase::testUpdateAllowedValues in modules/field/modules/list/tests/list.test
Test that allowed values can be updated.
ListFieldUITestCase::assertAllowedValuesInput in modules/field/modules/list/tests/list.test
Tests a string input for the 'allowed values' form element.
ListFieldUITestCase::testListAllowedValuesBoolean in modules/field/modules/list/tests/list.test
List (boolen) : test 'On/Off' values input.
ListFieldUITestCase::testListAllowedValuesFloat in modules/field/modules/list/tests/list.test
List (float) : test 'allowed values' input.
ListFieldUITestCase::testListAllowedValuesInteger in modules/field/modules/list/tests/list.test
List (integer) : test 'allowed values' input.
ListFieldUITestCase::testListAllowedValuesText in modules/field/modules/list/tests/list.test
List (text) : test 'allowed values' input.
list_allowed_values_setting_validate in modules/field/modules/list/list.module
Element validate callback; check that the entered values are valid.
list_field_formatter_info in modules/field/modules/list/list.module
Implements hook_field_formatter_info().
list_field_info in modules/field/modules/list/list.module
Implements hook_field_info().
list_field_settings_form in modules/field/modules/list/list.module
Implements hook_field_settings_form().
list_field_update_forbid in modules/field/modules/list/list.module
Implements hook_field_update_forbid().
list_field_validate in modules/field/modules/list/list.module
Implements hook_field_validate().
list_help in modules/field/modules/list/list.module
Implements hook_help().
LocaleCommentLanguageFunctionalTest::setUp in modules/locale/locale.test
LocaleCommentLanguageFunctionalTest::testCommentLanguage in modules/locale/locale.test
Test that comment language is properly set.
LocaleConfigurationTest::testLanguageConfiguration in modules/locale/locale.test
Functional tests for adding, editing and deleting languages.
LocaleContentFunctionalTest::testContentTypeLanguageConfiguration in modules/locale/locale.test
Test if a content type can be set to multilingual and language setting is present on node add and edit forms.
LocaleDateFormatsFunctionalTest::testLocalizeDateFormats in modules/locale/locale.test
Functional tests for localizing date formats.
LocaleExportFunctionalTest::testExportTranslation in modules/locale/locale.test
Test exportation of translations.
LocaleExportFunctionalTest::testExportTranslationTemplateFile in modules/locale/locale.test
Test exportation of translation template file.
LocaleImportFunctionalTest::importPoFile in modules/locale/locale.test
Helper function: import a standalone .po file in a given language.
LocaleImportFunctionalTest::testAutomaticModuleTranslationImportLanguageEnable in modules/locale/locale.test
Test automatic import of a module's translation files when a language is enabled.
LocaleImportFunctionalTest::testEmptyMsgstr in modules/locale/locale.test
Test empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext in modules/locale/locale.test
Test msgctxt context support.
LocaleImportFunctionalTest::testStandalonePoFile in modules/locale/locale.test
Test import of standalone .po files.
LocaleInstallTest::testFunctionSignatures in modules/locale/locale.test
Verify that function signatures of t() and st() are equal.
LocaleLanguageNegotiationInfoFunctionalTest::checkFixedLanguageTypes in modules/locale/locale.test
Check that language negotiation for fixed types matches the stored one.
LocaleLanguageNegotiationInfoFunctionalTest::setUp in modules/locale/locale.test
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in modules/locale/locale.test
Tests alterations to language types/negotiation info.
LocaleLanguageSwitchingFunctionalTest::testLanguageBlock in modules/locale/locale.test
Functional tests for the language switcher block.
LocaleMultilingualFieldsFunctionalTest::setUp in modules/locale/locale.test
LocaleMultilingualFieldsFunctionalTest::testMultilingualDisplaySettings in modules/locale/locale.test
LocaleMultilingualFieldsFunctionalTest::testMultilingualNodeForm in modules/locale/locale.test
Test if field languages are correctly set through the node form.
LocalePathFunctionalTest::testPathLanguageConfiguration in modules/locale/locale.test
Test if a language can be associated with a path alias.
LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/locale/locale.test
LocaleTranslationFunctionalTest::testStringSearch in modules/locale/locale.test
Tests translation search form.
LocaleTranslationFunctionalTest::testStringTranslation in modules/locale/locale.test
Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationFunctionalTest::testStringValidation in modules/locale/locale.test
Tests the validation of the translation input.
LocaleUILanguageNegotiationTest::testUILanguageNegotiation in modules/locale/locale.test
Tests for language switching by URL path.
LocaleUILanguageNegotiationTest::testUrlLanguageFallback in modules/locale/locale.test
Test URL language detection when the requested URL has no language.
LocaleUninstallFunctionalTest::testUninstallProcess in modules/locale/locale.test
Check if the values of the Locale variables are correct after uninstall.
LocaleUpgradePathTestCase::testLocaleUpgrade in modules/simpletest/tests/upgrade/upgrade.locale.test
Test a successful upgrade (no negotiation).
LocaleUpgradePathTestCase::testLocaleUpgradeDomain in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with domain-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathDefault in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with path-based negotiation.
LocaleUpgradePathTestCase::testLocaleUpgradePathFallback in modules/simpletest/tests/upgrade/upgrade.locale.test
Test an upgrade with path-based (with fallback) negotiation.
LocaleUrlRewritingTest::setUp in modules/locale/locale.test
LocaleUrlRewritingTest::testUrlRewritingEdgeCases in modules/locale/locale.test
Check that disabled or non-installed languages are not considered.
LocaleUserCreationTest::testLocalUserCreation in modules/locale/locale.test
Functional test for language handling during user creation.
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration in modules/locale/locale.test
Test if user can change their default language.
locale_block_info in modules/locale/locale.module
Implements hook_block_info().
locale_block_view in modules/locale/locale.module
Implements hook_block_view().
locale_date_format_form in modules/locale/locale.admin.inc
Provide date localization configuration options to users.
locale_date_format_form_submit in modules/locale/locale.admin.inc
Submit handler for configuring localized date formats on the locale_date_format_form.
locale_date_format_language_overview_page in modules/locale/locale.admin.inc
Display edit date format links for each language.
locale_date_format_reset_form in modules/locale/locale.admin.inc
Reset locale specific date formats to the global defaults.
locale_form_node_form_alter in modules/locale/locale.module
Implements hook_form_BASE_FORM_ID_alter().
locale_form_node_type_form_alter in modules/locale/locale.module
Implements hook_form_FORM_ID_alter().
locale_form_path_admin_form_alter in modules/locale/locale.module
Implements hook_form_FORM_ID_alter().
locale_help in modules/locale/locale.module
Implements hook_help().
locale_languages_configure_form in modules/locale/locale.admin.inc
Setting for language negotiation options
locale_languages_configure_form_submit in modules/locale/locale.admin.inc
Submit handler for language negotiation settings.
locale_languages_custom_form in modules/locale/locale.admin.inc
Custom language addition form.
locale_languages_delete_form in modules/locale/locale.admin.inc
User interface for the language deletion confirmation screen.
locale_languages_delete_form_submit in modules/locale/locale.admin.inc
Process language deletion submissions.
locale_languages_edit_form in modules/locale/locale.admin.inc
Editing screen for a particular language.
locale_languages_edit_form_validate in modules/locale/locale.admin.inc
Validate the language editing form. Reused for custom language addition too.
locale_languages_overview_form in modules/locale/locale.admin.inc
User interface for the language overview screen.
locale_languages_overview_form_submit in modules/locale/locale.admin.inc
Process language overview form submissions, updating existing languages.
locale_languages_predefined_form in modules/locale/locale.admin.inc
Predefined language setup form.
locale_languages_predefined_form_submit in modules/locale/locale.admin.inc
Process the language addition form submission.
locale_languages_predefined_form_validate in modules/locale/locale.admin.inc
Validate the language addition form.
locale_language_list in modules/locale/locale.module
Returns array of language names
locale_language_name in modules/locale/locale.module
Returns a language name
locale_language_negotiation_info in modules/locale/locale.module
Implements hook_language_negotiation_info().
locale_language_providers_session_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_providers_url_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_selector_form in modules/locale/locale.module
Form builder callback to display language selection widget.
locale_language_types_info in modules/locale/locale.module
Implements hook_language_types_info().
locale_locale in modules/locale/locale.module
Implements hook_locale().
locale_permission in modules/locale/locale.module
Implements hook_permission().
locale_test_language_negotiation_info in modules/locale/tests/locale_test.module
Implements hook_language_negotiation_info().
locale_test_language_types_info in modules/locale/tests/locale_test.module
Implements hook_language_types_info().
locale_test_locale in modules/locale/tests/locale_test.module
Implements hook_locale().
locale_translate_delete_form in modules/locale/locale.admin.inc
User interface for the string deletion confirmation screen.
locale_translate_delete_form_submit in modules/locale/locale.admin.inc
Process string deletion submissions.
locale_translate_edit_form in modules/locale/locale.admin.inc
User interface for string editing.
locale_translate_edit_form_submit in modules/locale/locale.admin.inc
Process string editing form submissions.
locale_translate_edit_form_validate in modules/locale/locale.admin.inc
Validate string editing form submissions.
locale_translate_export_pot_form in modules/locale/locale.admin.inc
Translation template export form.
locale_translate_export_po_form in modules/locale/locale.admin.inc
Form to export PO files for the languages provided.
locale_translate_import_form in modules/locale/locale.admin.inc
User interface for the translation import screen.
locale_translate_import_form_submit in modules/locale/locale.admin.inc
Process the locale import form submission.
locale_translate_overview_screen in modules/locale/locale.admin.inc
Overview screen for translations.
locale_translation_filters in modules/locale/locale.admin.inc
List locale translation filters that can be applied.
locale_translation_filter_form in modules/locale/locale.admin.inc
Return form for locale translation filters.
locale_translation_filter_form_submit in modules/locale/locale.admin.inc
Process result from locale translation filter form.
locale_translation_filter_form_validate in modules/locale/locale.admin.inc
Validate result from locale translation filter form.
LockFunctionalTest::testLockAcquire in modules/simpletest/tests/lock.test
Confirm that we can acquire and release locks in two parallel requests.
MailTestCase::testPluggableFramework in modules/simpletest/tests/mail.test
Assert that the pluggable mail system is functional.
map_month in includes/form.inc
Helper function for usage with drupal_map_assoc to display month names.
MenuBreadcrumbTestCase::testBreadCrumbs in modules/simpletest/tests/menu.test
Tests breadcrumbs on node and administrative paths.
MenuExampleTestCase::testMenuExample in examples/menu_example/menu_example.test
Test the various menus.
MenuLinksUnitTestCase::assertMenuLinkParents in modules/simpletest/tests/menu.test
Assert that at set of links is properly parented.
MenuNodeTestCase::assertNoOption in modules/menu/menu.test
Asserts that a select option in the current page does not exist.
MenuNodeTestCase::testMenuNodeFormWidget in modules/menu/menu.test
Test creating, editing, deleting menu links via node form widget.
MenuRebuildTestCase::testMenuRebuildByVariable in modules/simpletest/tests/menu.test
Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
MenuRouterTestCase::menuItemTitlesCasesHelper in modules/simpletest/tests/menu.test
Get a url and assert the title given a case number. If override is true, the title is asserted to begin with "Alternative".
MenuRouterTestCase::testAuthUserUserLogin in modules/simpletest/tests/menu.test
Test that an authenticated user hitting 'user/login' gets redirected to 'user' and 'user/register' gets redirected to the user edit page.
MenuRouterTestCase::testFileInheritance in modules/simpletest/tests/menu.test
Test that 'page callback', 'file' and 'file path' keys are properly inherited from parent menu paths.
MenuRouterTestCase::testHookCustomTheme in modules/simpletest/tests/menu.test
Test that hook_custom_theme() can control the theme of a page.
MenuRouterTestCase::testMaintenanceModeLoginPaths in modules/simpletest/tests/menu.test
Make sure the maintenance mode can be bypassed using hook_menu_site_status_alter().
MenuRouterTestCase::testMenuGetNames in modules/simpletest/tests/menu.test
Test menu_get_names().
MenuRouterTestCase::testMenuHidden in modules/simpletest/tests/menu.test
Tests menu link depth and parents of local tasks and menu callbacks.
MenuRouterTestCase::testMenuHierarchy in modules/simpletest/tests/menu.test
Tests for menu hierarchy.
MenuRouterTestCase::testMenuItemHooks in modules/simpletest/tests/menu.test
Test menu maintenance hooks.
MenuRouterTestCase::testMenuLinkMaintain in modules/simpletest/tests/menu.test
Tests for menu_link_maintain().
MenuRouterTestCase::testMenuLinkOptions in modules/simpletest/tests/menu.test
Test menu link 'options' storage and rendering.
MenuRouterTestCase::testMenuLoadArgumentsInheritance in modules/simpletest/tests/menu.test
Tests inheritance of 'load arguments'.
MenuRouterTestCase::testMenuName in modules/simpletest/tests/menu.test
Tests for menu_name parameter for hook_menu().
MenuRouterTestCase::testMenuSetItem in modules/simpletest/tests/menu.test
Test menu_set_item().
MenuRouterTestCase::testThemeCallbackAdministrative in modules/simpletest/tests/menu.test
Test the theme callback when it is set to use an administrative theme.
MenuRouterTestCase::testThemeCallbackFakeTheme in modules/simpletest/tests/menu.test
Test the theme callback when it is set to use a theme that does not exist.
MenuRouterTestCase::testThemeCallbackHookCustomTheme in modules/simpletest/tests/menu.test
Test that the theme callback wins out over hook_custom_theme().
MenuRouterTestCase::testThemeCallbackInheritance in modules/simpletest/tests/menu.test
Test that the theme callback is properly inherited.
MenuRouterTestCase::testThemeCallbackMaintenanceMode in modules/simpletest/tests/menu.test
Test the theme callback when the site is in maintenance mode.
MenuRouterTestCase::testThemeCallbackNoThemeRequested in modules/simpletest/tests/menu.test
Test the theme callback when no theme is requested.
MenuRouterTestCase::testThemeCallbackOptionalTheme in modules/simpletest/tests/menu.test
Test the theme callback when it is set to use an optional theme.
MenuRouterTestCase::testTitleCallbackFalse in modules/simpletest/tests/menu.test
Test title callback set to FALSE.
MenuRouterTestCase::testTitleMenuCallback in modules/simpletest/tests/menu.test
Tests page title of MENU_CALLBACKs.
MenuTestCase::addCustomMenu in modules/menu/menu.test
Add custom menu.
MenuTestCase::addCustomMenuCRUD in modules/menu/menu.test
Add custom menu using CRUD functions.
MenuTestCase::addInvalidMenuLink in modules/menu/menu.test
Attempt to add menu link with invalid path or no access permission.
MenuTestCase::addMenuLink in modules/menu/menu.test
Add a menu link using the menu module UI.
MenuTestCase::assertMenuLink in modules/menu/menu.test
Fetch the menu item from the database and compare it to the specified array.
MenuTestCase::deleteCustomMenu in modules/menu/menu.test
Delete custom menu.
MenuTestCase::deleteMenuLink in modules/menu/menu.test
Delete a menu link using the menu module UI.
MenuTestCase::disableMenuLink in modules/menu/menu.test
Disable a menu link.
MenuTestCase::doMenuTests in modules/menu/menu.test
Test menu functionality using navigation menu.
MenuTestCase::enableMenuLink in modules/menu/menu.test
Enable a menu link.
MenuTestCase::modifyMenuLink in modules/menu/menu.test
Modify a menu link using the menu module UI.
MenuTestCase::moveMenuLink in modules/menu/menu.test
Change the parent of a menu link using the menu module UI.
MenuTestCase::resetMenuLink in modules/menu/menu.test
Reset a standard menu link using the menu module UI.
MenuTestCase::testMenu in modules/menu/menu.test
Login users, add menus and menu links, and test menu functionality through the admin and user interfaces.
MenuTestCase::testMenuQueryAndFragment in modules/menu/menu.test
Add and remove a menu link with a query string and fragment.
MenuTestCase::verifyAccess in modules/menu/menu.test
Verify the logged in user has the desired access to the various menu nodes.
MenuTestCase::verifyMenuLink in modules/menu/menu.test
Verify a menu link using the menu module UI.
MenuTrailTestCase::testMenuTreeSetPath in modules/simpletest/tests/menu.test
Tests active trails are properly affected by menu_tree_set_path().
MenuTreeDataTestCase::assertSameLink in modules/simpletest/tests/menu.test
Check that two menu links are the same by comparing the mlid.
MenuTreeDataTestCase::testMenuTreeData in modules/simpletest/tests/menu.test
Validate the generation of a proper menu tree hierarchy.
MenuTreeOutputTestCase::testMenuTreeData in modules/simpletest/tests/menu.test
Validate the generation of a proper menu tree output.
MenuUpgradePathTestCase::testMenuUpgrade in modules/simpletest/tests/upgrade/upgrade.menu.test
Test a successful upgrade.
MenuWebTestCase::assertBreadcrumb in modules/simpletest/tests/menu.test
Assert that a given path shows certain breadcrumb links.
menu_configure in modules/menu/menu.admin.inc
Menu callback; Build the form presenting menu configuration options.
menu_delete_menu_confirm in modules/menu/menu.admin.inc
Build a confirm form for deletion of a custom menu.
menu_delete_menu_confirm_submit in modules/menu/menu.admin.inc
Delete a custom menu and all links in it.
menu_edit_item in modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.
menu_edit_item_submit in modules/menu/menu.admin.inc
Process menu and menu item add/edit form submissions.
menu_edit_item_validate in modules/menu/menu.admin.inc
Validate form values for a menu link being added or edited.
menu_edit_menu in modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.
menu_edit_menu_submit in modules/menu/menu.admin.inc
Submit function for adding or editing a custom menu.
menu_example_arg_optional_load in examples/menu_example/menu_example.module
Loads an item based on its $id.
menu_example_id_load in examples/menu_example/menu_example.module
The special _load function to load menu_example.
menu_example_menu in examples/menu_example/menu_example.module
Implements hook_menu().
menu_example_permission in examples/menu_example/menu_example.module
Implements hook_permission() to provide a demonstration access string.
menu_example_user_page_title in examples/menu_example/menu_example.module
Title callback to rename the title dynamically, based on user_page_title().
menu_form_node_form_alter in modules/menu/menu.module
Implements hook_form_BASE_FORM_ID_alter().
menu_form_node_type_form_alter in modules/menu/menu.module
Implements hook_form_FORM_ID_alter().
menu_get_menus in modules/menu/menu.module
Return an associative array of the custom menus names.
menu_help in modules/menu/menu.module
Implements hook_help().
menu_item_delete_form in modules/menu/menu.admin.inc
Build a confirm form for deletion of a single menu link.
menu_item_delete_form_submit in modules/menu/menu.admin.inc
Process menu delete form submissions.
menu_node_save in modules/menu/menu.module
Helper for hook_node_insert() and hook_node_update().
menu_overview_form in modules/menu/menu.admin.inc
Form for editing an entire menu tree at once.
menu_overview_form_submit in modules/menu/menu.admin.inc
Submit handler for the menu overview form.
menu_overview_page in modules/menu/menu.admin.inc
Menu callback which shows an overview page of all the custom menus and their descriptions.
menu_permission in modules/menu/menu.module
Implements hook_permission().
menu_reset_item_confirm in modules/menu/menu.admin.inc
Menu callback; reset a single modified menu link.
menu_reset_item_confirm_submit in modules/menu/menu.admin.inc
Process menu reset item form submissions.
menu_set_active_trail in includes/menu.inc
Sets the active trail (path to menu tree root) of the current page.
menu_test_title_callback in modules/simpletest/tests/menu_test.module
Concatenates a string, by using the t() function and a case number.
MergeQuery::execute in includes/database/query.inc
Runs the query against the database.
ModuleDependencyTestCase::testEnableRequirementsFailureDependency in modules/system/system.test
Tests enabling a module that depends on a module which fails hook_requirements().
ModuleDependencyTestCase::testEnableWithoutDependency in modules/system/system.test
Attempt to enable translation module without locale enabled.
ModuleDependencyTestCase::testMissingModules in modules/system/system.test
Attempt to enable a module with a missing dependency.
ModuleDependencyTestCase::testModuleEnableOrder in modules/system/system.test
Tests that module dependencies are enabled in the correct order via the UI. Dependencies should be enabled before their dependents.
ModuleDependencyTestCase::testUninstallDependents in modules/system/system.test
Tests attempting to uninstall a module that has installed dependents.
ModuleInstallTestCase::testDrupalWriteRecord in modules/simpletest/tests/module.test
Test that calls to drupal_write_record() work during module installation.
ModuleRequiredTestCase::testDisableRequired in modules/system/system.test
Assert that core required modules cannot be disabled.
ModuleTestCase::assertLogMessage in modules/system/system.test
Verify a log entry was entered for a module's status change. Called in the same way of the expected original watchdog() execution.
ModuleTestCase::assertModules in modules/system/system.test
Assert the list of modules are enabled or disabled.
ModuleTestCase::assertModuleTablesDoNotExist in modules/system/system.test
Assert that none of the tables defined in a module's hook_schema() exist.
ModuleTestCase::assertModuleTablesExist in modules/system/system.test
Assert that all tables defined in a module's hook_schema() exist.
ModuleTestCase::assertTableCount in modules/system/system.test
Assert there are tables that begin with the specified base table name.
ModuleUninstallTestCase::testUserPermsUninstalled in modules/simpletest/tests/module.test
Tests the hook_modules_uninstalled() of the user module.
ModuleUnitTest::assertModuleList in modules/simpletest/tests/module.test
Assert that module_list() return the expected values.
ModuleUnitTest::testDependencyResolution in modules/simpletest/tests/module.test
Test dependency resolution.
ModuleUnitTest::testModuleImplements in modules/simpletest/tests/module.test
Test module_implements() caching.
ModuleUnitTest::testModuleInvoke in modules/simpletest/tests/module.test
Test that module_invoke() can load a hook defined in hook_hook_info().
ModuleUnitTest::testModuleInvokeAll in modules/simpletest/tests/module.test
Test that module_invoke_all() can load a hook defined in hook_hook_info().
ModuleUnitTest::testModuleList in modules/simpletest/tests/module.test
The basic functionality of module_list().
ModuleUpdater::postInstallTasks in modules/system/system.updater.inc
Return an array of links to pages that should be visited post operation.
module_test_permission in modules/simpletest/tests/module_test.module
Implements hook_permission().
module_test_system_info_alter in modules/simpletest/tests/module_test.module
Implements hook_system_info_alter().
MultiStepNodeFormBasicOptionsTest::testMultiStepNodeFormBasicOptions in modules/node/node.test
Change the default values of basic options to ensure they persist.
NewDefaultThemeBlocks::testNewDefaultThemeBlocks in modules/block/block.test
Check the enabled Bartik blocks are correctly copied over.
NodeAccessBaseTableTestCase::testNodeAccessBasic in modules/node/node.test
Test the "private" node access.
NodeAccessExampleTestCase::checkSearchResults in examples/node_access_example/node_access_example.test
On the search page, search for a string and assert the expected number of results.
NodeAccessExampleTestCase::testNodeAccessBasic in examples/node_access_example/node_access_example.test
Test the "private" node access.
NodeAccessRebuildTestCase::testNodeAccessRebuild in modules/node/node.test
NodeAccessRecordsUnitTest::testNodeAccessRecords in modules/node/node.test
Create a node and test the creation of node access rules.
NodeAccessUnitTest::assertNodeAccess in modules/node/node.test
Asserts node_access correctly grants or denies access.
NodeAdminTestCase::testContentAdminPages in modules/node/node.test
Tests content overview with different user permissions.
NodeApiExampleTestCase::testNodeExampleBasic in examples/nodeapi_example/nodeapi_example.test
Log user in, creates an example node, and uses the rating system.
NodeApiExampleTestCase::testNodeExampleRevision in examples/nodeapi_example/nodeapi_example.test
Logs user in, creates an example node, and tests rating functionality with a node using revisions.
nodeapi_example_form_alter in examples/nodeapi_example/nodeapi_example.module
Implements hook_form_alter().
nodeapi_example_node_validate in examples/nodeapi_example/nodeapi_example.module
Implements hook_node_validate().
NodeBlockFunctionalTest::testRecentNodeBlock in modules/node/node.test
Test the recent comments block.
NodeBlockTestCase::testSearchFormBlock in modules/node/node.test
NodeBodyUpgradePathTestCase::testNodeBodyUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Test a successful upgrade.
NodeBuildContent::testNodeRebuildContent in modules/node/node.test
Test to ensure that a node's content array is rebuilt on every call to node_build_content().
NodeCreationTestCase::testFailedPageCreation in modules/node/node.test
Create a page node and verify that a transaction rolls back the failed creation
NodeCreationTestCase::testNodeCreation in modules/node/node.test
Create a "Basic page" node and verify its consistency in the database.
NodeExampleTestCase::testNodeCreation in examples/node_example/node_example.test
Verify the functionality of the example module.
NodeLoadHooksTestCase::testHookNodeLoad in modules/node/node.test
Test that hook_node_load() is invoked correctly.
NodeLoadMultipleUnitTest::testNodeMultipleLoad in modules/node/node.test
Create four nodes and ensure they're loaded correctly.
NodePostSettingsTestCase::testPageNotPostInfo in modules/node/node.test
Set "Basic page" content type to not display post information and confirm its absence on a new node.
NodePostSettingsTestCase::testPagePostInfo in modules/node/node.test
Set "Basic page" content type to display post information and confirm its presence on a new node.
NodeQueryAlter::testNodeQueryAlterLowLevelEditAccess in modules/node/node.test
Lower-level test of 'node_access' query alter, for edit access.
NodeQueryAlter::testNodeQueryAlterLowLevelNoAccess in modules/node/node.test
Lower-level test of 'node_access' query alter, for user without access.
NodeQueryAlter::testNodeQueryAlterLowLevelWithAccess in modules/node/node.test
Lower-level test of 'node_access' query alter, for user with access.
NodeQueryAlter::testNodeQueryAlterOverride in modules/node/node.test
Lower-level test of 'node_access' query alter override.
NodeRevisionsTestCase::testNodeRevisionWithoutLogMessage in modules/node/node.test
Checks that revisions are correctly saved without log messages.
NodeRevisionsTestCase::testRevisions in modules/node/node.test
Check node revision related operations.
NodeRSSContentTestCase::testNodeRSSContent in modules/node/node.test
Create a new node and ensure that it includes the custom data when added to an RSS feed.
NodeSaveTestCase::testImport in modules/node/node.test
Import test, to check if custom node ids are saved properly. Workflow:
NodeSaveTestCase::testTimestamps in modules/node/node.test
Check that the "created" and "changed" timestamps are set correctly when saving a new node or updating an existing node.
NodeTitleXSSTestCase::testNodeTitleXSS in modules/node/node.test
NodeTokenReplaceTestCase::testNodeTokenReplacement in modules/node/node.test
Creates a node, then tests the tokens generated from it.
NodeTypePersistenceTestCase::testNodeTypeCustomizationPersistence in modules/node/node.test
Test node type customizations persist through disable and uninstall.
NodeTypeTestCase::testNodeTypeCreation in modules/node/node.test
Test creating a content type programmatically and via a form.
NodeTypeTestCase::testNodeTypeEditing in modules/node/node.test
Test editing a node type using the UI.
NodeTypeTestCase::testNodeTypeGetFunctions in modules/node/node.test
Ensure that node type functions (node_type_get_*) work correctly.
NodeTypeTestCase::testNodeTypeStatus in modules/node/node.test
Test that node_types_rebuild() correctly handles the 'disabled' flag.
node_access_example_form_alter in examples/node_access_example/node_access_example.module
Implements hook_form_alter().
node_access_example_node_access in examples/node_access_example/node_access_example.module
Implements hook_node_access().
node_access_example_node_insert in examples/node_access_example/node_access_example.module
Implements hook_node_insert().
node_access_example_node_update in examples/node_access_example/node_access_example.module
Implements hook_node_update().
node_access_example_permission in examples/node_access_example/node_access_example.module
Implements hook_permission().
node_access_example_private_node_listing in examples/node_access_example/node_access_example.module
Our hook_menu() page callback function.
node_access_rebuild in modules/node/node.module
Rebuild the node access database. This is occasionally needed by modules that make system-wide changes to access levels.
node_access_test_form_node_form_alter in modules/node/tests/node_access_test.module
Implements hook_form_node_form_alter().
node_action_info in modules/node/node.module
Implements hook_action_info().
node_add in modules/node/node.pages.inc
Returns a node submission form.
node_admin_nodes in modules/node/node.admin.inc
Form builder: Builds the node administration overview.
node_admin_nodes_validate in modules/node/node.admin.inc
Validate node_admin_nodes form submissions.
node_assign_owner_action_form in modules/node/node.module
Generates the settings form for node_assign_owner_action().
node_assign_owner_action_validate in modules/node/node.module
Validates settings form for node_assign_owner_action().
node_block_configure in modules/node/node.module
Implements hook_block_configure().
node_block_info in modules/node/node.module
Implements hook_block_info().
node_block_view in modules/node/node.module
Implements hook_block_view().
node_build_content in modules/node/node.module
Builds a structured array representing the node's content.
node_configure_rebuild_confirm in modules/node/node.admin.inc
Menu callback: confirm rebuilding of permissions.
node_delete_confirm in modules/node/node.pages.inc
Menu callback -- ask for confirmation of node deletion
node_delete_confirm_submit in modules/node/node.pages.inc
Execute node deletion
node_entity_info in modules/node/node.module
Implements hook_entity_info().
node_example_entity_info_alter in examples/node_example/node_example.module
Implements hook_entity_info_alter().
node_example_field_formatter_info in examples/node_example/node_example.module
Implements hook_field_formatter_info().
node_example_help in examples/node_example/node_example.module
Implements hook_help().
node_example_page in examples/node_example/node_example.module
Callback that builds our content and returns it to the browser.
node_field_extra_fields in modules/node/node.module
Implements hook_field_extra_fields().
node_filters in modules/node/node.admin.inc
List node administration filters that can be applied.
node_filter_form in modules/node/node.admin.inc
Return form for node administration filters.
node_filter_form_submit in modules/node/node.admin.inc
Process result from node administration filter form.
node_form in modules/node/node.pages.inc
Generate the node add/edit form array.
node_form_block_admin_configure_alter in modules/node/node.module
Implements hook_form_FORMID_alter().
node_form_search_form_alter in modules/node/node.module
Implements hook_form_FORM_ID_alter().
node_form_submit in modules/node/node.pages.inc
node_help in modules/node/node.module
Implements hook_help().
node_list_permissions in modules/node/node.module
Helper function to generate standard node permission list for a given type.
node_mass_update in modules/node/node.admin.inc
Make mass update of nodes, changing all nodes in the $nodes array to update them with the field values in $updates.
node_multiple_delete_confirm in modules/node/node.admin.inc
node_node_operations in modules/node/node.admin.inc
Implements hook_node_operations().
node_overview_types in modules/node/content_types.inc
Displays the content type admin overview page.
node_page_default in modules/node/node.module
Menu callback; Generate a listing of promoted nodes.
node_page_edit in modules/node/node.pages.inc
Menu callback; presents the node editing form.
node_permission in modules/node/node.module
Implements hook_permission().
node_preview in modules/node/node.pages.inc
Generate a node preview.
node_ranking in modules/node/node.module
Implements hook_ranking().
node_requirements in modules/node/node.module
Implements hook_requirements().
node_revision_delete_confirm in modules/node/node.pages.inc
node_revision_delete_confirm_submit in modules/node/node.pages.inc
node_revision_overview in modules/node/node.pages.inc
Generate an overview table of older revisions of a node.
node_revision_revert_confirm in modules/node/node.pages.inc
Ask for confirmation of the reversion to prevent against CSRF attacks.
node_revision_revert_confirm_submit in modules/node/node.pages.inc
node_search_admin in modules/node/node.module
Implements hook_search_admin().
node_show in modules/node/node.module
Generate an array which displays a node detail page.
node_test_node_view in modules/node/tests/node_test.module
Implements hook_node_view().
node_token_info in modules/node/node.tokens.inc
Implements hook_token_info().
node_type_delete_confirm in modules/node/content_types.inc
Menu callback; delete a single content type.
node_type_delete_confirm_submit in modules/node/content_types.inc
Process content type delete confirm submissions.
node_type_form in modules/node/content_types.inc
Form constructor for the node type editing form.
node_type_form_submit in modules/node/content_types.inc
Form submission handler for node_type_form().
node_type_form_validate in modules/node/content_types.inc
Form validation handler for node_type_form().
node_unpublish_by_keyword_action_form in modules/node/node.module
Generates settings form for node_unpublish_by_keyword_action().
node_validate in modules/node/node.module
Perform validation checks on the given node.
NoHelpTestCase::testMainPageNoHelp in modules/help/help.test
Ensure modules not implementing help do not appear on admin/help.
NumberFieldTestCase::testNumberDecimalField in modules/field/modules/number/number.test
Test number_decimal field.
number_field_formatter_info in modules/field/modules/number/number.module
Implements hook_field_formatter_info().
number_field_formatter_settings_form in modules/field/modules/number/number.module
Implements hook_field_formatter_settings_form().
number_field_formatter_settings_summary in modules/field/modules/number/number.module
Implements hook_field_formatter_settings_summary().
number_field_info in modules/field/modules/number/number.module
Implements hook_field_info().
number_field_instance_settings_form in modules/field/modules/number/number.module
Implements hook_field_instance_settings_form().
number_field_settings_form in modules/field/modules/number/number.module
Implements hook_field_settings_form().
number_field_validate in modules/field/modules/number/number.module
Implements hook_field_validate().
number_field_widget_info in modules/field/modules/number/number.module
Implements hook_field_widget_info().
number_field_widget_validate in modules/field/modules/number/number.module
FAPI validation of an individual number element.
number_help in modules/field/modules/number/number.module
Implements hook_help().
OpenIDFunctionalTestCase::addIdentity in modules/openid/openid.test
Add OpenID identity to user's profile.
OpenIDFunctionalTestCase::testBlockedUserLogin in modules/openid/openid.test
Test that a blocked user cannot log in.
OpenIDFunctionalTestCase::testDelete in modules/openid/openid.test
Test deleting an OpenID identity from a user's profile.
OpenIDFunctionalTestCase::testLogin in modules/openid/openid.test
Test login using OpenID.
OpenIDFunctionalTestCase::testLoginMaintenanceMode in modules/openid/openid.test
Test login using OpenID during maintenance mode.
OpenIDInvalidIdentifierTransitionTestCase::testStrippedFragmentAccountAutoUpdateSreg in modules/openid/openid.test
Test OpenID auto transition with e-mail.
OpenIDInvalidIdentifierTransitionTestCase::testStrippedFragmentAccountEmailMismatch in modules/openid/openid.test
Test OpenID transition with e-mail mismatch.
OpenIDRegistrationTestCase::testRegisterUserWithAXButNoSREG in modules/openid/openid.test
Test OpenID auto-registration with a provider that supplies AX information, but no SREG.
OpenIDRegistrationTestCase::testRegisterUserWithEmailVerification in modules/openid/openid.test
Test OpenID auto-registration with e-mail verification enabled.
OpenIDRegistrationTestCase::testRegisterUserWithInvalidSreg in modules/openid/openid.test
Test OpenID auto-registration with a provider that supplies invalid SREG information (a username that is already taken, and no e-mail address).
OpenIDRegistrationTestCase::testRegisterUserWithoutEmailVerification in modules/openid/openid.test
Test OpenID auto-registration with e-mail verification disabled.
OpenIDRegistrationTestCase::testRegisterUserWithoutSreg in modules/openid/openid.test
Test OpenID auto-registration with a provider that does not supply SREG information (i.e. no username or e-mail address).
OpenIDUnitTest::testConversion in modules/openid/openid.test
Test _openid_dh_XXX_to_XXX() functions.
OpenIDUnitTest::testOpenidDhXorsecret in modules/openid/openid.test
Test _openid_dh_xorsecret().
OpenIDUnitTest::testOpenidGetBytes in modules/openid/openid.test
Test _openid_get_bytes().
OpenIDUnitTest::testOpenidNormalize in modules/openid/openid.test
Test openid_normalize().
OpenIDUnitTest::testOpenidSignature in modules/openid/openid.test
Test _openid_signature().
OpenIDUnitTest::testOpenidXRITest in modules/openid/openid.test
Test _openid_is_xri().
OpenIDWebTestCase::submitLoginForm in modules/openid/openid.test
Initiates the login procedure using the specified User-supplied Identity.
openid_authentication in modules/openid/openid.module
Authenticate a user or attempt registration.
openid_authentication_page in modules/openid/openid.pages.inc
Menu callback; Process an OpenID authentication.
openid_begin in modules/openid/openid.module
The initial step of OpenID authentication responsible for the following:
openid_form_user_register_form_alter in modules/openid/openid.module
Implements hook_form_FORM_ID_alter().
openid_help in modules/openid/openid.module
Implements hook_help().
openid_redirect in modules/openid/openid.inc
Creates a js auto-submit redirect for (for the 2.x protocol)
openid_redirect_form in modules/openid/openid.inc
openid_requirements in modules/openid/openid.install
Implements hook_requirements().
openid_test_html_openid1 in modules/openid/tests/openid_test.module
Menu callback; regular HTML page with OpenID 1.0 <link> element.
openid_test_html_openid2 in modules/openid/tests/openid_test.module
Menu callback; regular HTML page with OpenID 2.0 <link> element.
openid_test_yadis_http_equiv in modules/openid/tests/openid_test.module
Menu callback; regular HTML page with <meta> element.
openid_test_yadis_xrds in modules/openid/tests/openid_test.module
Menu callback; XRDS document that references the OP Endpoint URL.
openid_test_yadis_x_xrds_location in modules/openid/tests/openid_test.module
Menu callback; regular HTML page with an X-XRDS-Location HTTP header.
openid_user_add in modules/openid/openid.pages.inc
Form builder; Add an OpenID identity.
openid_user_add_validate in modules/openid/openid.pages.inc
openid_user_delete_form in modules/openid/openid.pages.inc
Menu callback; Delete the specified OpenID identity from the system.
openid_user_delete_form_submit in modules/openid/openid.pages.inc
openid_user_identities in modules/openid/openid.pages.inc
Menu callback; Manage OpenID identities for the specified user.
openid_user_insert in modules/openid/openid.module
Implements hook_user_insert().
OptionsWidgetsTestCase::testCheckBoxes in modules/field/modules/options/options.test
Tests the 'options_buttons' widget (multiple select).
OptionsWidgetsTestCase::testOnOffCheckbox in modules/field/modules/options/options.test
Tests the 'options_onoff' widget.
OptionsWidgetsTestCase::testRadioButtons in modules/field/modules/options/options.test
Tests the 'options_buttons' widget (single select).
OptionsWidgetsTestCase::testSelectListMultiple in modules/field/modules/options/options.test
Tests the 'options_select' widget (multiple select).
OptionsWidgetsTestCase::testSelectListSingle in modules/field/modules/options/options.test
Tests the 'options_select' widget (single select).
options_field_widget_info in modules/field/modules/options/options.module
Implements hook_field_widget_info().
options_field_widget_settings_form in modules/field/modules/options/options.module
Implements hook_field_widget_settings_form().
options_field_widget_validate in modules/field/modules/options/options.module
Form element validation handler for options element.
options_help in modules/field/modules/options/options.module
Implements hook_help().
overlay_disable_message in modules/overlay/overlay.module
Returns a renderable array representing a message for disabling the overlay.
overlay_form_user_profile_form_alter in modules/overlay/overlay.module
Implements hook_form_FORM_ID_alter().
overlay_help in modules/overlay/overlay.module
Implements hook_help().
overlay_permission in modules/overlay/overlay.module
Implements hook_permission().
overlay_user_dismiss_message in modules/overlay/overlay.module
Menu callback; dismisses the overlay accessibility message for this user.
PageEditTestCase::testPageAuthoredBy in modules/node/node.test
Check changing node authored by fields.
PageEditTestCase::testPageEdit in modules/node/node.test
Check node edit functionality.
PageExampleTestCase::testPageExampleBasic in examples/page_example/page_example.test
Login user, create an example node, and test blog functionality through the admin and user interfaces.
PageNotFoundTestCase::testPageNotFound in modules/system/system.test
PagePreviewTestCase::testPagePreview in modules/node/node.test
Check the node preview functionality.
PagePreviewTestCase::testPagePreviewWithRevisions in modules/node/node.test
Check the node preview functionality, when using revisions.
pager_example_page in examples/pager_example/pager_example.module
Build the pager query
pager_help in examples/pager_example/pager_example.module
Implements hook_help().
PageTitleFiltering::testTitleTags in modules/system/system.test
Tests the handling of HTML by drupal_set_title() and drupal_get_title()
PageTitleFiltering::testTitleXSS in modules/system/system.test
Test if the title of the site is XSS proof.
PageViewTestCase::testPageView in modules/node/node.test
Creates a node and then an anonymous and unpermissioned user attempt to edit the node.
page_example_arguments in examples/page_example/page_example.module
A more complex page callback that takes arguments.
page_example_description in examples/page_example/page_example.module
Constructs a descriptive page.
page_example_help in examples/page_example/page_example.module
Implements hook_help().
page_example_permission in examples/page_example/page_example.module
Implements hook_permission().
page_example_simple in examples/page_example/page_example.module
Constructs a simple page.
ParseInfoFilesTestCase::testParseInfoFile in modules/simpletest/tests/common.test
Parse an example .info file an verify the results.
PasswordHashingTest::testPasswordHashing in modules/simpletest/tests/password.test
Test password hashing.
password_confirm_validate in includes/form.inc
Validate password_confirm element.
PathLanguageTestCase::setUp in modules/path/path.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
PathLanguageTestCase::testAliasTranslation in modules/path/path.test
Test alias functionality through the admin interfaces.
PathLanguageUITestCase::setUp in modules/path/path.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
PathLanguageUITestCase::testDefaultLanguageURLs in modules/path/path.test
Tests that a default language URL alias works.
PathLanguageUITestCase::testLanguageNeutralURLs in modules/path/path.test
Tests that a language-neutral URL alias works.
PathLanguageUITestCase::testNonDefaultURLs in modules/path/path.test
Tests that a non-default language URL alias works.
PathLookupTest::getInfo in modules/simpletest/tests/path.test
PathLookupTest::testDrupalLookupPath in modules/simpletest/tests/path.test
Test that drupal_lookup_path() returns the correct path.
PathMonolingualTestCase::setUp in modules/path/path.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
PathMonolingualTestCase::testPageLinks in modules/path/path.test
Verifies that links do not have language prefixes in them.
PathTaxonomyTermTestCase::testTermAlias in modules/path/path.test
Test alias functionality through the admin interfaces.
PathTestCase::testAdminAlias in modules/path/path.test
Test alias functionality through the admin interfaces.
PathTestCase::testNodeAlias in modules/path/path.test
Test alias functionality through the node interfaces.
PathTestCase::testPathCache in modules/path/path.test
Test the path cache.
path_admin_delete_confirm in modules/path/path.admin.inc
Menu callback; confirms deleting an URL alias
path_admin_filter_form in modules/path/path.admin.inc
Return a form to filter URL aliases.
path_admin_form in modules/path/path.admin.inc
Return a form for editing or creating an individual URL alias.
path_admin_form_submit in modules/path/path.admin.inc
Save a URL alias to the database.
path_admin_form_validate in modules/path/path.admin.inc
Verify that a URL alias is valid
path_admin_overview in modules/path/path.admin.inc
Return a listing of all defined URL aliases.
path_form_element_validate in modules/path/path.module
Form element validation handler for URL alias form element.
path_form_node_form_alter in modules/path/path.module
Implements hook_form_BASE_FORM_ID_alter().
path_form_taxonomy_form_term_alter in modules/path/path.module
Implements hook_form_FORM_ID_alter().
path_help in modules/path/path.module
Implements hook_help().
path_permission in modules/path/path.module
Implements hook_permission().
PHPAccessTestCase::testNoPrivileges in modules/php/php.test
Make sure that user can't use the PHP filter when not given access.
PHPFilterTestCase::testPHPFilter in modules/php/php.test
Make sure that the PHP filter evaluates PHP code when used.
PHPTestCase::setUp in modules/php/php.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
php_disable in modules/php/php.install
Implements hook_disable().
php_enable in modules/php/php.install
Implements hook_enable().
php_filter_info in modules/php/php.module
Implements hook_filter_info().
php_help in modules/php/php.module
Implements hook_help().
php_permission in modules/php/php.module
Implements hook_permission().
PollBlockTestCase::testRecentBlock in modules/poll/poll.test
PollCreateTestCase::testPollClose in modules/poll/poll.test
PollDeleteChoiceTestCase::testChoiceRemoval in modules/poll/poll.test
PollExpirationTestCase::testAutoExpire in modules/poll/poll.test
PollJSAddChoice::testAddChoice in modules/poll/poll.test
Test adding a new choice.
PollTestCase::assertPollChoiceOrder in modules/poll/poll.test
Assert correct poll choice order in the node form after submission.
PollTestCase::pollCreate in modules/poll/poll.test
Creates a poll.
PollTestCase::pollUpdate in modules/poll/poll.test
PollTokenReplaceTestCase::testPollTokenReplacement in modules/poll/poll.test
Creates a poll, then tests the tokens generated from it.
PollUpgradePathTestCase::testPollUpgrade in modules/simpletest/tests/upgrade/upgrade.node.test
Test a successful upgrade.
PollUpgradePathTestCase::testPollUpgrade in modules/simpletest/tests/upgrade/upgrade.poll.test
Test a successful upgrade.
PollVoteCheckHostname::testHostnamePollVote in modules/poll/poll.test
Check that anonymous users with same ip cannot vote on poll more than once unless user is logged in.
PollVoteTestCase::testPollVote in modules/poll/poll.test
poll_block_info in modules/poll/poll.module
Implements hook_block_info().
poll_block_latest_poll_view in modules/poll/poll.module
Return content for 'latest poll' block.
poll_block_view in modules/poll/poll.module
Implements hook_block_view().
poll_cancel in modules/poll/poll.module
Submit callback for poll_cancel_form().
poll_cancel_form in modules/poll/poll.module
Builds the cancel form for a poll.
poll_field_extra_fields in modules/poll/poll.module
Implements hook_field_extra_fields().
poll_form in modules/poll/poll.module
Implements hook_form().
poll_help in modules/poll/poll.module
Implements hook_help().
poll_node_info in modules/poll/poll.module
Implements hook_node_info().
poll_page in modules/poll/poll.pages.inc
Menu callback to provide a simple list of all polls available.
poll_permission in modules/poll/poll.module
Implements hook_permission().
poll_token_info in modules/poll/poll.tokens.inc
Implements hook_token_info().
poll_validate in modules/poll/poll.module
Implements hook_validate().
poll_view_voting in modules/poll/poll.module
Generates the voting form for a poll.
poll_view_voting_validate in modules/poll/poll.module
Validation function for processing votes
poll_vote in modules/poll/poll.module
Submit handler for processing a vote.
poll_votes in modules/poll/poll.pages.inc
Callback for the 'votes' tab for polls you can see other votes on
ProfileBlockTestCase::testAuthorInformationBlock in modules/profile/profile.test
ProfileTestAutocomplete::testAutocomplete in modules/profile/profile.test
Tests profile field autocompletion and access.
ProfileTestCase::createProfileField in modules/profile/profile.test
Create a profile field.
ProfileTestCase::deleteProfileField in modules/profile/profile.test
Delete a profile field.
ProfileTestCase::setProfileField in modules/profile/profile.test
Set the profile field to a random value
ProfileTestCase::updateProfileField in modules/profile/profile.test
Update a profile field.
ProfileTestDate::testProfileDateField in modules/profile/profile.test
Create a date field, give it a value, update and delete the field.
ProfileTestWeights::testProfileFieldWeights in modules/profile/profile.test
profile_admin_overview in modules/profile/profile.admin.inc
Form builder to display a listing of all editable profile fields.
profile_admin_overview_submit in modules/profile/profile.admin.inc
Submit handler to update changed profile field weights and categories.
profile_block_configure in modules/profile/profile.module
Implements hook_block_configure().
profile_block_info in modules/profile/profile.module
Implements hook_block_info().
profile_block_view in modules/profile/profile.module
Implements hook_block_view().
profile_browse in modules/profile/profile.pages.inc
Menu callback; display a list of user information.
profile_field_delete in modules/profile/profile.admin.inc
Menu callback; deletes a field from all user profiles.
profile_field_delete_submit in modules/profile/profile.admin.inc
Process a field delete form submission.
profile_field_form in modules/profile/profile.admin.inc
Menu callback: Generate a form to add/edit a user profile field.
profile_field_form_submit in modules/profile/profile.admin.inc
Process profile_field_form submissions.
profile_field_form_validate in modules/profile/profile.admin.inc
Validate profile_field_form submissions.
profile_help in modules/profile/profile.module
Implements hook_help().
profile_user_form_validate in modules/profile/profile.module
Form validation handler for the user register/profile form.
QueueExampleTestCase::testQueueExampleBasic in examples/queue_example/queue_example.test
Login user, create an example node, and test blog functionality through the admin and user interfaces.
QueueTestCase::testQueue in modules/system/system.test
Queues and dequeues a set of items to check the basic queue functionality.
queue_example_add_remove_form in examples/queue_example/queue_example.module
Provides an interface to add items to the queue, to retrieve (claim) an item from the head of the queue, and to claim and delete. Also allows the user to run cron manually, so that claimed items can be released.
queue_example_add_remove_form_claim in examples/queue_example/queue_example.module
Submit function for the "claim" button. Claims (retrieves) an item from the queue and reports the results.
queue_example_add_remove_form_clear_queue in examples/queue_example/queue_example.module
Submit handler for clearing/deleting the queue.
queue_example_add_remove_form_delete in examples/queue_example/queue_example.module
Submit function for "Claim and delete" button.
queue_example_add_remove_form_insert in examples/queue_example/queue_example.module
Submit function for the insert-into-queue button.
queue_example_add_remove_form_run_cron in examples/queue_example/queue_example.module
Submit function for "run cron" button.
RdfCommentAttributesTestCase::setUp in modules/rdf/rdf.test
RdfCommentAttributesTestCase::testCommentRdfaMarkup in modules/rdf/rdf.test
Tests the presence of the RDFa markup for the title, date and author and homepage on registered users and anonymous comments.
RdfCommentAttributesTestCase::testCommentReplyOfRdfaMarkup in modules/rdf/rdf.test
Test RDF comment replies.
RdfCommentAttributesTestCase::testNumberOfCommentsRdfaMarkup in modules/rdf/rdf.test
Tests the presence of the RDFa markup for the number of comments.
RdfCommentAttributesTestCase::_testBasicCommentRdfaMarkup in modules/rdf/rdf.test
Helper function for testCommentRdfaMarkup().
RdfCrudTestCase::testCRUD in modules/rdf/rdf.test
Test inserting, loading, updating, and deleting RDF mappings.
RdfGetRdfNamespacesTestCase::testGetRdfNamespaces in modules/rdf/rdf.test
Test getting RDF namesapces.
RdfMappingDefinitionTestCase::testAttributesInMarkup1 in modules/rdf/rdf.test
Create a node of type blog and test whether the RDF mapping defined for this node type in rdf_test.module is used in the node page.
RdfMappingDefinitionTestCase::testAttributesInMarkup2 in modules/rdf/rdf.test
Create a content type and a node of type test_bundle_hook_install and test whether the RDF mapping defined in rdf_test.install is used.
RdfMappingDefinitionTestCase::testAttributesInMarkup3 in modules/rdf/rdf.test
Create a random content type and node and ensure the default mapping for node is used.
RdfMappingDefinitionTestCase::testTaxonomyTermRdfaAttributes in modules/rdf/rdf.test
Creates a random term and ensures the right RDFa markup is used.
RdfMappingDefinitionTestCase::testUserAttributesInMarkup in modules/rdf/rdf.test
Create a random user and ensure the default mapping for user is used.
RdfMappingHookTestCase::testMapping in modules/rdf/rdf.test
Test that hook_rdf_mapping() correctly returns and processes mapping.
RdfRdfaMarkupTestCase::testAttributesInMarkupFile in modules/rdf/rdf.test
Ensure that file fields have the correct resource as the object in RDFa when displayed as a teaser.
RdfTrackerAttributesTestCase::_testBasicTrackerRdfaMarkup in modules/rdf/rdf.test
Helper function for testAttributesInTracker().
rdf_help in modules/rdf/rdf.module
Implements hook_help().
RegistryParseFilesTestCase::testRegistryParseFiles in modules/simpletest/tests/registry.test
testRegistryParseFiles
RegistryParseFileTestCase::testRegistryParseFile in modules/simpletest/tests/registry.test
testRegistryParseFile
RemoveFeedTestCase::testRemoveFeed in modules/aggregator/aggregator.test
Remove a feed and ensure that all it services are removed.
RenderExampleTestCase::assertRenderedText in examples/render_example/render_example.test
Asserts that the string value of the result is the same as the passed text.
RenderExampleTestCase::assertRenderResults in examples/render_example/render_example.test
Assert that all of the xpaths in the array have results.
RenderExampleTestCase::testRenderExampleBasic in examples/render_example/render_example.test
Login user, create an example node, and test blog functionality through the admin and user interfaces.
render_example_add_suffix in examples/render_example/render_example.module
A '#pre_render' function.
render_example_arrays in examples/render_example/render_example.module
Provides a number of render arrays and show what they do.
render_example_demo_form in examples/render_example/render_example.module
Builds the form that offers options of what items to show.
render_example_info in examples/render_example/render_example.module
Simple basic information about the module; an entry point.
render_example_page_alter in examples/render_example/render_example.module
Implements hook_page_alter().
RetrieveFileTestCase::testFileRetrieving in modules/system/system.test
Invokes system_retrieve_file() in several scenarios.
SchemaTestCase::assertFieldAdditionRemoval in modules/simpletest/tests/schema.test
Assert that a given field can be added and removed from a table.
SchemaTestCase::assertFieldCharacteristics in modules/simpletest/tests/schema.test
Assert that a newly added field has the correct characteristics.
SchemaTestCase::checkSchemaComment in modules/simpletest/tests/schema.test
Checks that a table or column comment matches a given description.
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
SchemaTestCase::testUnsignedColumns in modules/simpletest/tests/schema.test
Tests creating unsigned columns and data integrity thereof.
SearchAdvancedSearchForm::testNodeType in modules/search/search.test
Test using the search form with GET and POST queries. Test using the advanced search form to limit search to nodes of type "Basic page".
SearchBlockTestCase::testBlock in modules/search/search.test
Test that the search block form works correctly.
SearchBlockTestCase::testSearchFormBlock in modules/search/search.test
SearchCommentCountToggleTestCase::setUp in modules/search/search.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchCommentCountToggleTestCase::testSearchCommentCountToggle in modules/search/search.test
Verify that comment count display toggles properly on comment status of node
SearchCommentTestCase::checkCommentAccess in modules/search/search.test
Update search index and search for comment.
SearchCommentTestCase::testAddNewComment in modules/search/search.test
Verify that 'add new comment' does not appear in search results or index.
SearchCommentTestCase::testSearchResultsComment in modules/search/search.test
Verify that comments are rendered using proper format in search results.
SearchCommentTestCase::testSearchResultsCommentAccess in modules/search/search.test
Verify access rules for comment indexing with different permissions.
SearchConfigSettingsForm::setUp in modules/search/search.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchConfigSettingsForm::testSearchModuleDisabling in modules/search/search.test
Verify that you can disable individual search modules.
SearchConfigSettingsForm::testSearchSettingsPage in modules/search/search.test
Verify the search settings form.
SearchEmbedForm::testEmbeddedForm in modules/search/search.test
Tests that the embedded form appears and can be submitted.
SearchExactTestCase::testExactQuery in modules/search/search.test
Tests that the correct number of pager links are found for both keywords and phrases.
SearchLanguageTestCase::testLanguages in modules/search/search.test
SearchNodeAccessTest::testPhraseSearchPunctuation in modules/search/search.test
Tests that search returns results with punctuation in the search phrase.
SearchNumberMatchingTestCase::setUp in modules/search/search.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchNumberMatchingTestCase::testNumberSearching in modules/search/search.test
Tests that all the numbers can be searched.
SearchNumbersTestCase::setUp in modules/search/search.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchNumbersTestCase::testNumberSearching in modules/search/search.test
Tests that all the numbers can be searched.
SearchPageText::testSearchText in modules/search/search.test
Tests the failed search text, and various other text on the search page.
SearchQuery::parseSearchExpression in modules/search/search.extender.inc
Parses the search query into SQL conditions.
SearchRankingTestCase::testRankings in modules/search/search.test
SearchSimplifyTestCase::testSearchSimplifyUnicode in modules/search/search.test
Tests that all Unicode characters simplify correctly.
search_admin_settings in modules/search/search.admin.inc
Menu callback: displays the search module settings page.
search_admin_settings_submit in modules/search/search.admin.inc
Form submission handler for search_admin_settings().
search_admin_settings_validate in modules/search/search.admin.inc
Form validation handler for search_admin_settings().
search_block_info in modules/search/search.module
Implements hook_block_info().
search_box in modules/search/search.module
Form builder; Output a search form for the search block's search box.
search_box_form_submit in modules/search/search.module
Process a block search form submission.
search_embedded_form_form in modules/search/tests/search_embedded_form.module
Builds a form for embedding in search results for testing.
search_embedded_form_form_submit in modules/search/tests/search_embedded_form.module
Submit handler for search_embedded_form_form().
search_excerpt in modules/search/search.module
Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.
search_form in modules/search/search.module
Builds a search form.
search_form_submit in modules/search/search.pages.inc
Process a search form submission.
search_help in modules/search/search.module
Implements hook_help().
search_permission in modules/search/search.module
Implements hook_permission().
search_reindex_confirm in modules/search/search.admin.inc
Menu callback: confirm wiping of the index.
search_reindex_confirm_submit in modules/search/search.admin.inc
Handler for wipe confirmation
search_view in modules/search/search.pages.inc
Menu callback; presents the search form and/or search results.
SessionHttpsTestCase::testHttpsSession in modules/simpletest/tests/session.test
SessionTestCase::assertSessionCookie in modules/simpletest/tests/session.test
Assert whether the SimpleTest browser sent a session cookie.
SessionTestCase::assertSessionEmpty in modules/simpletest/tests/session.test
Assert whether $_SESSION is empty at the beginning of the request.
SessionTestCase::sessionReset in modules/simpletest/tests/session.test
Reset the cookie file so that it refers to the specified user.
SessionTestCase::testDataPersistence in modules/simpletest/tests/session.test
Test data persistence via the session_test module callbacks. Also tests drupal_session_count() since session data is already generated here.
SessionTestCase::testEmptyAnonymousSession in modules/simpletest/tests/session.test
Test that empty anonymous sessions are destroyed.
SessionTestCase::testEmptySessionID in modules/simpletest/tests/session.test
Test that empty session IDs are not allowed.
SessionTestCase::testSessionSaveRegenerate in modules/simpletest/tests/session.test
Tests for drupal_save_session() and drupal_session_regenerate().
SessionTestCase::testSessionWrite in modules/simpletest/tests/session.test
Test that sessions are only saved when necessary.
seven_node_add_list in themes/seven/template.php
Display the list of available node types for node creation.
seven_tablesort_indicator in themes/seven/template.php
Override of theme_tablesort_indicator().
ShortcutLinksTestCase::testNoShortcutLink in modules/shortcut/shortcut.test
Tests that the add shortcut link is not displayed for 404/403 errors.
ShortcutLinksTestCase::testShortcutLinkAdd in modules/shortcut/shortcut.test
Tests that creating a shortcut works properly.
ShortcutLinksTestCase::testShortcutLinkChangePath in modules/shortcut/shortcut.test
Tests that changing the path of a shortcut link works.
ShortcutLinksTestCase::testShortcutLinkRename in modules/shortcut/shortcut.test
Tests that shortcut links can be renamed.
ShortcutLinksTestCase::testShortcutQuickLink in modules/shortcut/shortcut.test
Tests that the "add to shortcut" link changes to "remove shortcut".
ShortcutSetsTestCase::testShortcutSetDelete in modules/shortcut/shortcut.test
Tests deleting a shortcut set.
ShortcutSetsTestCase::testShortcutSetRename in modules/shortcut/shortcut.test
Tests renaming a shortcut set.
ShortcutSetsTestCase::testShortcutSetRenameAlreadyExists in modules/shortcut/shortcut.test
Tests renaming a shortcut set to the same name as another set.
ShortcutSetsTestCase::testShortcutSetSwitchCreate in modules/shortcut/shortcut.test
Tests switching a user's shortcut set and creating one at the same time.
ShortcutSetsTestCase::testShortcutSetSwitchNoSetName in modules/shortcut/shortcut.test
Tests switching a user's shortcut set without providing a new set name.
ShortcutSetsTestCase::testShortcutSetSwitchOwn in modules/shortcut/shortcut.test
Tests switching a user's own shortcut set.
shortcut_block_info in modules/shortcut/shortcut.module
Implements hook_block_info().
shortcut_block_view in modules/shortcut/shortcut.module
Implements hook_block_view().
shortcut_help in modules/shortcut/shortcut.module
Implements hook_help().
shortcut_link_add in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for adding a new shortcut link.
shortcut_link_add_inline in modules/shortcut/shortcut.admin.inc
Menu page callback: creates a new link in the provided shortcut set.
shortcut_link_add_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_link_add().
shortcut_link_delete in modules/shortcut/shortcut.admin.inc
Form callback: builds the confirmation form for deleting a shortcut link.
shortcut_link_delete_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_link_delete_submit().
shortcut_link_edit in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for editing a shortcut link.
shortcut_link_edit_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_link_edit().
shortcut_link_edit_validate in modules/shortcut/shortcut.admin.inc
Validation handler for the shortcut link add and edit forms.
shortcut_permission in modules/shortcut/shortcut.module
Implements hook_permission().
shortcut_preprocess_page in modules/shortcut/shortcut.module
Implements hook_preprocess_page().
shortcut_set_add_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for adding a shortcut set.
shortcut_set_add_form_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_set_add_form().
shortcut_set_add_form_validate in modules/shortcut/shortcut.admin.inc
Validation handler for shortcut_set_add_form().
shortcut_set_admin in modules/shortcut/shortcut.admin.inc
Menu page callback: builds the page for administering shortcut sets.
shortcut_set_customize in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for customizing shortcut sets.
shortcut_set_customize_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_set_customize().
shortcut_set_delete_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the confirmation form for deleting a shortcut set.
shortcut_set_delete_form_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_set_delete_form().
shortcut_set_edit_form in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for editing the shortcut set name.
shortcut_set_edit_form_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_set_edit_form().
shortcut_set_edit_form_validate in modules/shortcut/shortcut.admin.inc
Validation handler for shortcut_set_edit_form().
shortcut_set_switch in modules/shortcut/shortcut.admin.inc
Form callback: builds the form for switching shortcut sets.
shortcut_set_switch_submit in modules/shortcut/shortcut.admin.inc
Submit handler for shortcut_set_switch().
shortcut_set_switch_validate in modules/shortcut/shortcut.admin.inc
Validation handler for shortcut_set_switch().
shortcut_toolbar_pre_render in modules/shortcut/shortcut.module
Pre-render function for adding shortcuts to the toolbar drawer.
ShutdownFunctionsTest::testShutdownFunctions in modules/system/system.test
Test shutdown functions.
SimpleTestBrowserTestCase::testGetAbsoluteUrl in modules/simpletest/simpletest.test
Test DrupalWebTestCase::getAbsoluteUrl().
SimpletestExampleTestCase::testSimpleTestExampleCreate in examples/simpletest_example/simpletest_example.test
SimpletestExampleTestCase::testSimpleTestExampleEdit in examples/simpletest_example/simpletest_example.test
SimpleTestFunctionalTest::assertAssertion in modules/simpletest/simpletest.test
Assert that an assertion with the specified values is displayed in the test results.
SimpleTestFunctionalTest::confirmStubTestResults in modules/simpletest/simpletest.test
Confirm that the stub test produced the desired results.
SimpleTestFunctionalTest::stubTest in modules/simpletest/simpletest.test
Test to be run and the results confirmed.
SimpleTestFunctionalTest::testInternalBrowser in modules/simpletest/simpletest.test
Test the internal browsers functionality.
SimpleTestFunctionalTest::testUserAgentValidation in modules/simpletest/simpletest.test
Test validation of the User-Agent header we use to perform test requests.
SimpleTestFunctionalTest::testWebTestRunner in modules/simpletest/simpletest.test
Make sure that tests selected through the web interface are run and that the results are displayed correctly.
SimpleTestMailCaptureTestCase::testMailSend in modules/simpletest/simpletest.test
Test to see if the wrapper function is executed correctly.
SimpleTestMissingDependentModuleUnitTest::testFail in modules/simpletest/simpletest.test
Ensure that this test will not be loaded despite its dependency.
SimpletestUnitTestExampleTestCase::testSimpletestUnitTestExampleFunction in examples/simpletest_example/simpletest_example.test
Call simpletest_example_empty_mysql_date and check that it returns correct result.
simpletest_clean_database in modules/simpletest/simpletest.module
Removed prefixed tables from the database that are left over from crashed tests.
simpletest_clean_environment in modules/simpletest/simpletest.module
Remove all temporary database tables and directories.
simpletest_clean_temporary_directories in modules/simpletest/simpletest.module
Find all leftover temporary directories and remove them.
simpletest_example_node_info in examples/simpletest_example/simpletest_example.module
Implements hook_node_info().
simpletest_example_permission in examples/simpletest_example/simpletest_example.module
Implements hook_permission().
simpletest_help in modules/simpletest/simpletest.module
Implements hook_help().
simpletest_permission in modules/simpletest/simpletest.module
Implements hook_permission().
simpletest_result_form in modules/simpletest/simpletest.pages.inc
Test results form for $test_id.
simpletest_result_status_image in modules/simpletest/simpletest.pages.inc
Get the appropriate image for the status.
simpletest_run_tests in modules/simpletest/simpletest.module
Actually runs tests.
simpletest_settings_form in modules/simpletest/simpletest.pages.inc
Provides settings form for SimpleTest variables.
simpletest_settings_form_validate in modules/simpletest/simpletest.pages.inc
Validation handler for simpletest_settings_form().
simpletest_test_form in modules/simpletest/simpletest.pages.inc
List tests arranged in groups that can be selected and run.
simpletest_test_form_submit in modules/simpletest/simpletest.pages.inc
Run selected tests.
SiteMaintenanceTestCase::testSiteMaintenance in modules/system/system.test
Verify site maintenance mode functionality.
StatisticsAdminTestCase::testDeleteUser in modules/statistics/statistics.test
Tests that accesslog reflects when a user is deleted.
StatisticsAdminTestCase::testExpiredLogs in modules/statistics/statistics.test
Tests that cron clears day counts and expired access logs.
StatisticsAdminTestCase::testStatisticsSettings in modules/statistics/statistics.test
Verifies that the statistics settings page works.
StatisticsBlockVisitorsTestCase::testIPAddressBlocking in modules/statistics/statistics.test
Blocks an IP address via the top visitors report and then unblocks it.
StatisticsLoggingTestCase::testLogging in modules/statistics/statistics.test
Verifies request logging for cached and uncached pages.
StatisticsReportsTestCase::testAccessLogging in modules/statistics/statistics.test
Verifies that access logging is working and is reported correctly.
StatisticsReportsTestCase::testDetails in modules/statistics/statistics.test
Verifies that 'Details' page renders properly and displays the added hit.
StatisticsReportsTestCase::testPopularContentBlock in modules/statistics/statistics.test
Tests the "popular content" block.
StatisticsReportsTestCase::testRecentHits in modules/statistics/statistics.test
Verifies that 'Recent hits' renders properly and displays the added hit.
StatisticsReportsTestCase::testTopPages in modules/statistics/statistics.test
Verifies that 'Top pages' renders properly and displays the added hit.
StatisticsReportsTestCase::testTopReferrers in modules/statistics/statistics.test
Verifies that 'Top referrers' renders properly and displays the added hit.
StatisticsTokenReplaceTestCase::testStatisticsTokenReplacement in modules/statistics/statistics.test
Creates a node, then tests the statistics tokens generated from it.
statistics_access_log in modules/statistics/statistics.admin.inc
Menu callback; Displays recent page accesses.
statistics_block_configure in modules/statistics/statistics.module
Implements hook_block_configure().
statistics_block_info in modules/statistics/statistics.module
Implements hook_block_info().
statistics_block_view in modules/statistics/statistics.module
Implements hook_block_view().
statistics_help in modules/statistics/statistics.module
Implements hook_help().
statistics_node_tracker in modules/statistics/statistics.pages.inc
statistics_permission in modules/statistics/statistics.module
Implements hook_permission().
statistics_ranking in modules/statistics/statistics.module
Implements hook_ranking().
statistics_recent_hits in modules/statistics/statistics.admin.inc
Menu callback; presents the "recent hits" page.
statistics_settings_form in modules/statistics/statistics.admin.inc
Form builder; Configure access logging.
statistics_token_info in modules/statistics/statistics.tokens.inc
Implements hook_token_info().
statistics_top_pages in modules/statistics/statistics.admin.inc
Menu callback; presents the "top pages" page.
statistics_top_referrers in modules/statistics/statistics.admin.inc
Menu callback; presents the "referrer" page.
statistics_top_visitors in modules/statistics/statistics.admin.inc
Menu callback; presents the "top visitors" page.
statistics_user_tracker in modules/statistics/statistics.pages.inc
StreamWrapperTest::testGetClassName in modules/simpletest/tests/file.test
Test the getClassName() function.
StreamWrapperTest::testGetInstanceByScheme in modules/simpletest/tests/file.test
Test the file_stream_wrapper_get_instance_by_scheme() function.
StreamWrapperTest::testGetValidStreamScheme in modules/simpletest/tests/file.test
Test the scheme functions.
StreamWrapperTest::testUriFunctions in modules/simpletest/tests/file.test
Test the URI and target functions.
SummaryLengthTestCase::testSummaryLength in modules/node/node.test
Creates a node and then an anonymous and unpermissioned user attempt to edit the node.
SyslogTestCase::testSettings in modules/syslog/syslog.test
Test the syslog settings page.
syslog_form_system_logging_settings_alter in modules/syslog/syslog.module
Implements hook_form_FORM_ID_alter().
syslog_help in modules/syslog/syslog.module
Implements hook_help().
SystemAdminTestCase::testCompactMode in modules/system/system.test
Test compact mode.
SystemBlockTestCase::testSystemBlocks in modules/system/system.test
Test displaying and hiding the powered-by and help blocks.
SystemIndexPhpTest::testIndexPhpHandling in modules/system/system.test
Test index.php handling.
SystemInfoAlterTestCase::testSystemInfoAlter in modules/system/system.test
Tests that {system}.info is rebuilt after a module that implements hook_system_info_alter() is enabled. Also tests if core *_list() functions return freshly altered info.
SystemMainContentFallback::testMainContentFallback in modules/system/system.test
Test availability of main content.
SystemTestFileTransfer::getSettingsForm in modules/simpletest/tests/system_test.module
SystemThemeFunctionalTest::testAdministrationTheme in modules/system/system.test
Test the administration theme functionality.
SystemThemeFunctionalTest::testSwitchDefaultTheme in modules/system/system.test
Test switching the default theme.
SystemThemeFunctionalTest::testThemeSettings in modules/system/system.test
Test the theme settings form.
system_actions_configure in modules/system/system.admin.inc
Menu callback; Creates the form for configuration of a single action.
system_actions_configure_submit in modules/system/system.admin.inc
Process system_actions_configure() form submissions.
system_actions_delete_form in modules/system/system.admin.inc
Create the form for confirmation of deleting an action.
system_actions_delete_form_submit in modules/system/system.admin.inc
Process system_actions_delete form submissions.
system_actions_manage in modules/system/system.admin.inc
Menu callback; Displays an overview of available and configured actions.
system_actions_manage_form in modules/system/system.admin.inc
Define the form for the actions overview page.
system_action_delete_orphans_post in modules/system/system.admin.inc
Post-deletion operations for deleting action orphans.
system_action_info in modules/system/system.module
Implements hook_action_info().
system_add_date_formats_form_submit in modules/system/system.admin.inc
Process new date format string submission.
system_add_date_formats_form_validate in modules/system/system.admin.inc
Validate new date format string submission.
system_add_date_format_type_form in modules/system/system.admin.inc
Add new date type.
system_add_date_format_type_form_submit in modules/system/system.admin.inc
Process system_add_date_format_type form submissions.
system_add_date_format_type_form_validate in modules/system/system.admin.inc
Validate system_add_date_format_type form submissions.
system_admin_config_page in modules/system/system.admin.inc
Menu callback; Provide the administration overview page.
system_admin_menu_block_page in modules/system/system.admin.inc
Provide a single block from the administration menu as a page.
system_block_info in modules/system/system.module
Implements hook_block_info().
system_block_view in modules/system/system.module
Implements hook_block_view().
system_check_directory in modules/system/system.module
Checks the existence of the directory specified in $form_element.
system_clean_url_settings in modules/system/system.admin.inc
Form builder; Configure clean URL settings.
system_clear_cache_submit in modules/system/system.admin.inc
Submit callback; clear system caches.
system_configure_date_formats_form in modules/system/system.admin.inc
Allow users to add additional date formats.
system_cron_settings in modules/system/system.admin.inc
Form builder; Cron form.
system_date_delete_format_form in modules/system/system.admin.inc
Menu callback; present a form for deleting a date format.
system_date_delete_format_form_submit in modules/system/system.admin.inc
Delete a configured date format.
system_date_format_types in modules/system/system.module
Implements hook_date_format_types().
system_date_time_formats in modules/system/system.admin.inc
Displays the date format strings overview page.
system_date_time_settings in modules/system/system.admin.inc
Form builder; Configure the site date and time settings.
system_delete_date_format_type_form in modules/system/system.admin.inc
Menu callback; present a form for deleting a date type.
system_delete_date_format_type_form_submit in modules/system/system.admin.inc
Delete a configured date type.
system_entity_info in modules/system/system.module
Implements hook_entity_info().
system_filetransfer_info in modules/system/system.module
Implements hook_filetransfer_info().
system_file_system_settings in modules/system/system.admin.inc
Form builder; Configure the site file handling.
system_get_module_admin_tasks in modules/system/system.module
Generate a list of tasks offered by a specified module.
system_goto_action_form in modules/system/system.module
Settings form for system_goto_action().
system_help in modules/system/system.module
Implements hook_help().
system_image_toolkits in modules/system/system.module
Implements hook_image_toolkits().
system_image_toolkit_settings in modules/system/system.admin.inc
Form builder; Configure site image toolkit usage.
system_ip_blocking in modules/system/system.admin.inc
Menu callback. Display blocked IP addresses.
system_ip_blocking_delete in modules/system/system.admin.inc
IP deletion confirm page.
system_ip_blocking_delete_submit in modules/system/system.admin.inc
Process system_ip_blocking_delete form submissions.
system_ip_blocking_form in modules/system/system.admin.inc
Define the form for blocking IP addresses.
system_ip_blocking_form_submit in modules/system/system.admin.inc
system_ip_blocking_form_validate in modules/system/system.admin.inc
system_logging_settings in modules/system/system.admin.inc
Form builder; Configure error reporting settings.
system_menu in modules/system/system.module
Implements hook_menu().
system_message_action_form in modules/system/system.module
system_modules in modules/system/system.admin.inc
Menu callback; provides module enable/disable interface.
system_modules_confirm_form in modules/system/system.admin.inc
Display confirmation form for required modules.
system_modules_submit in modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_modules_uninstall in modules/system/system.admin.inc
Builds a form of currently disabled modules.
system_modules_uninstall_confirm_form in modules/system/system.admin.inc
Confirm uninstall of selected modules.
system_modules_uninstall_submit in modules/system/system.admin.inc
Processes the submitted uninstall form.
system_modules_uninstall_validate in modules/system/system.admin.inc
Validates the submitted uninstall form.
system_performance_settings in modules/system/system.admin.inc
Form builder; Configure site performance settings.
system_permission in modules/system/system.module
Implements hook_permission().
system_regional_settings in modules/system/system.admin.inc
Form builder; Configure the site regional settings.
system_region_list in modules/system/system.module
Get a list of available regions from a specified theme.
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
system_retrieve_file in modules/system/system.module
Attempts to get a file using drupal_http_request and to store it locally.
system_rss_feeds_settings in modules/system/system.admin.inc
Form builder; Configure how the site handles RSS feeds.
system_run_cron in modules/system/system.admin.inc
Menu callback: run cron manually.
system_run_cron_submit in modules/system/system.admin.inc
Submit callback; run cron.
system_send_email_action_form in modules/system/system.module
Return a form definition so the Send email action can be configured.
system_send_email_action_validate in modules/system/system.module
Validate system_send_email_action form submissions.
system_settings_form in modules/system/system.module
Add default buttons to a form and set its prefix.
system_settings_form_submit in modules/system/system.module
Execute the system_settings_form.
system_site_information_settings in modules/system/system.admin.inc
Form builder; The general site information form.
system_site_information_settings_validate in modules/system/system.admin.inc
Validates the submitted site-information form.
system_site_maintenance_mode in modules/system/system.admin.inc
Form builder; Configure the site's maintenance status.
system_stream_wrappers in modules/system/system.module
Implements hook_stream_wrappers().
system_test_basic_auth_page in modules/simpletest/tests/system_test.module
system_test_filetransfer_info in modules/simpletest/tests/system_test.module
Implements hook_filetransfer_info().
system_test_init in modules/simpletest/tests/system_test.module
Implements hook_init().
system_test_main_content_fallback in modules/simpletest/tests/system_test.module
Menu callback to test main content fallback().
system_test_modules_disabled in modules/simpletest/tests/system_test.module
Implements hook_modules_disabled().
system_test_modules_enabled in modules/simpletest/tests/system_test.module
Implements hook_modules_enabled().
system_test_modules_installed in modules/simpletest/tests/system_test.module
Implements hook_modules_installed().
system_test_modules_uninstalled in modules/simpletest/tests/system_test.module
Implements hook_modules_uninstalled().
system_test_set_header in modules/simpletest/tests/system_test.module
system_themes_admin_form in modules/system/system.admin.inc
Form to select the administration theme.
system_themes_admin_form_submit in modules/system/system.admin.inc
Process system_themes_admin_form form submissions.
system_themes_page in modules/system/system.admin.inc
Menu callback; displays a listing of all themes.
system_theme_default in modules/system/system.admin.inc
Menu callback; Set the default theme.
system_theme_disable in modules/system/system.admin.inc
Menu callback; Disables a theme.
system_theme_enable in modules/system/system.admin.inc
Menu callback; Enables a theme.
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
system_theme_settings_submit in modules/system/system.admin.inc
Process system_theme_settings form submissions.
system_theme_settings_validate in modules/system/system.admin.inc
Validator for the system_theme_settings() form.
system_time_zones in modules/system/system.module
Generate an array of time zones and their local time&date.
system_token_info in modules/system/system.tokens.inc
Implements hook_token_info().
system_updater_info in modules/system/system.module
Implements hook_updater_info().
system_update_7003 in modules/system/system.install
Update {blocked_ips} with valid IP addresses from {access}.
system_update_7007 in modules/system/system.install
Convert to new method of storing permissions.
system_update_7033 in modules/system/system.install
Move CACHE_AGGRESSIVE to CACHE_NORMAL.
system_update_7060 in modules/system/system.install
Create fields in preparation for migrating upload.module to file.module.
system_update_7061 in modules/system/system.install
Migrate upload.module data to the newly created file field.
system_user_login in modules/system/system.module
Implements hook_user_login().
system_user_timezone in modules/system/system.module
Add the time zone field to the user edit and register forms.
TableSortExampleTestCase::testTableSortPage in examples/tablesort_example/tablesort_example.test
Verify the functionality of the example module.
TableSortTest::testTableSortInit in modules/simpletest/tests/tablesort.test
Test tablesort_init().
tablesort_example_help in examples/tablesort_example/tablesort_example.module
Implements hook_help().
tablesort_example_page in examples/tablesort_example/tablesort_example.module
Build the table render array.
tablesort_header in includes/tablesort.inc
Format a column header.
TaxonomyHooksTestCase::testTaxonomyTermHooks in modules/taxonomy/taxonomy.test
Test that hooks are run correctly on creating, editing and deleting a term.
TaxonomyLegacyTestCase::testTaxonomyLegacyNode in modules/taxonomy/taxonomy.test
Test taxonomy functionality with nodes prior to 1970.
TaxonomyLoadMultipleUnitTest::testTaxonomyTermMultipleLoad in modules/taxonomy/taxonomy.test
Create a vocabulary and some taxonomy terms, ensuring they're loaded correctly using taxonomy_term_load_multiple().
TaxonomyTermFieldTestCase::testTaxonomyTermFieldChangeMachineName in modules/taxonomy/taxonomy.test
Tests that vocabulary machine name changes are mirrored in field definitions.
TaxonomyTermFieldTestCase::testTaxonomyTermFieldValidation in modules/taxonomy/taxonomy.test
Test term field validation.
TaxonomyTermFieldTestCase::testTaxonomyTermFieldWidgets in modules/taxonomy/taxonomy.test
Test widgets.
TaxonomyTermTestCase::testNodeTermCreationAndDeletion in modules/taxonomy/taxonomy.test
Test term creation with a free-tagging vocabulary from the node form.
TaxonomyTermTestCase::testTaxonomyGetTermByName in modules/taxonomy/taxonomy.test
Test taxonomy_get_term_by_name().
TaxonomyTermTestCase::testTaxonomyNode in modules/taxonomy/taxonomy.test
Test that hook_node_$op implementations work correctly.
TaxonomyTermTestCase::testTaxonomyTermHierarchy in modules/taxonomy/taxonomy.test
Test terms in a single and multiple hierarchy.
TaxonomyTermTestCase::testTermInterface in modules/taxonomy/taxonomy.test
Save, edit and delete a term using the user interface.
TaxonomyTermTestCase::testTermMultipleParentsInterface in modules/taxonomy/taxonomy.test
Test saving a term with multiple parents through the UI.
TaxonomyTermTestCase::testTermReorder in modules/taxonomy/taxonomy.test
Save, edit and delete a term using the user interface.
TaxonomyThemeTestCase::testTaxonomyTermThemes in modules/taxonomy/taxonomy.test
Test the theme used when adding, viewing and editing taxonomy terms.
TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement in modules/taxonomy/taxonomy.test
Creates some terms and a node, then tests the tokens generated from them.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminChangingWeights in modules/taxonomy/taxonomy.test
Changing weights on the vocabulary overview with two or more vocabularies.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminDeletingVocabulary in modules/taxonomy/taxonomy.test
Deleting a vocabulary.
TaxonomyVocabularyFunctionalTest::testTaxonomyAdminNoVocabularies in modules/taxonomy/taxonomy.test
Test the vocabulary overview with no vocabularies.
TaxonomyVocabularyFunctionalTest::testVocabularyInterface in modules/taxonomy/taxonomy.test
Create, edit and delete a vocabulary via the user interface.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyChangeMachineName in modules/taxonomy/taxonomy.test
Tests that machine name changes are properly reflected.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadMultiple in modules/taxonomy/taxonomy.test
Tests for loading multiple vocabularies.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadReturnFalse in modules/taxonomy/taxonomy.test
Ensure that when an invalid vocabulary vid is loaded, it is possible to load the same vid successfully if it subsequently becomes valid.
TaxonomyVocabularyUnitTest::testTaxonomyVocabularyLoadStaticReset in modules/taxonomy/taxonomy.test
Ensure that the vocabulary static reset works correctly.
taxonomy_entity_info in modules/taxonomy/taxonomy.module
Implements hook_entity_info().
taxonomy_field_extra_fields in modules/taxonomy/taxonomy.module
Implements hook_field_extra_fields().
taxonomy_field_formatter_info in modules/taxonomy/taxonomy.module
Implements hook_field_formatter_info().
taxonomy_field_info in modules/taxonomy/taxonomy.module
Implements hook_field_info().
taxonomy_field_settings_form in modules/taxonomy/taxonomy.module
Implements hook_field_settings_form().
taxonomy_field_validate in modules/taxonomy/taxonomy.module
Implements hook_field_validate().
taxonomy_field_widget_info in modules/taxonomy/taxonomy.module
Implements hook_field_widget_info().
taxonomy_form_term in modules/taxonomy/taxonomy.admin.inc
Form function for the term edit form.
taxonomy_form_term_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler to insert or update a term.
taxonomy_form_term_validate in modules/taxonomy/taxonomy.admin.inc
Validation handler for the term form.
taxonomy_form_vocabulary in modules/taxonomy/taxonomy.admin.inc
Form builder for the vocabulary editing form.
taxonomy_form_vocabulary_submit in modules/taxonomy/taxonomy.admin.inc
Form submission handler for taxonomy_form_vocabulary().
taxonomy_form_vocabulary_validate in modules/taxonomy/taxonomy.admin.inc
Form validation handler for taxonomy_form_vocabulary().
taxonomy_help in modules/taxonomy/taxonomy.module
Implements hook_help().
taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Form builder for the taxonomy terms overview.
taxonomy_overview_terms_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler for terms overview form.
taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
Form builder to list and manage vocabularies.
taxonomy_overview_vocabularies_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler for vocabularies overview. Updates changed vocabulary weights.
taxonomy_permission in modules/taxonomy/taxonomy.module
Implements hook_permission().
taxonomy_term_confirm_delete in modules/taxonomy/taxonomy.admin.inc
Form builder for the term delete form.
taxonomy_term_confirm_delete_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler to delete a term after confirmation.
taxonomy_term_page in modules/taxonomy/taxonomy.pages.inc
Menu callback; displays all nodes associated with a term.
taxonomy_test_form_alter in modules/simpletest/tests/taxonomy_test.module
Implements hook_form_alter().
taxonomy_token_info in modules/taxonomy/taxonomy.tokens.inc
Implements hook_token_info().
taxonomy_vocabulary_confirm_delete in modules/taxonomy/taxonomy.admin.inc
Form builder for the vocabulary delete confirmation form.
taxonomy_vocabulary_confirm_delete_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler to delete a vocabulary after confirmation.
taxonomy_vocabulary_confirm_reset_alphabetical in modules/taxonomy/taxonomy.admin.inc
Form builder to confirm resetting a vocabulary to alphabetical order.
taxonomy_vocabulary_confirm_reset_alphabetical_submit in modules/taxonomy/taxonomy.admin.inc
Submit handler to reset a vocabulary to alphabetical order after confirmation.
template_preprocess_aggregator_feed_source in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-feed-source.tpl.php.
template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-item.tpl.php.
template_preprocess_aggregator_summary_item in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-summary-item.tpl.php.
template_preprocess_block_admin_display_form in modules/block/block.admin.inc
Processes variables for block-admin-display-form.tpl.php.
template_preprocess_comment in modules/comment/comment.module
Process variables for comment.tpl.php.
template_preprocess_dashboard_admin_display_form in modules/dashboard/dashboard.module
Preprocesses variables for block-admin-display-form.tpl.php.
template_preprocess_forums in modules/forum/forum.module
Process variables for forums.tpl.php
template_preprocess_forum_icon in modules/forum/forum.module
Process variables to format the icon for each individual topic.
template_preprocess_forum_list in modules/forum/forum.module
Process variables to format a forum listing.
template_preprocess_forum_topic_list in modules/forum/forum.module
Preprocess variables to format the topic listing.
template_preprocess_node in modules/node/node.module
Process variables for node.tpl.php
template_preprocess_username in includes/theme.inc
Preprocesses variables for theme_username().
template_preprocess_user_picture in modules/user/user.module
Process variables for user-picture.tpl.php.
TextFieldTestCase::_testTextfieldWidgets in modules/field/modules/text/text.test
Helper function for testTextfieldWidgets().
TextFieldTestCase::_testTextfieldWidgetsFormatted in modules/field/modules/text/text.test
Helper function for testTextfieldWidgetsFormatted().
TextSummaryTestCase::callTextSummary in modules/field/modules/text/text.test
Calls text_summary() and asserts that the expected teaser is returned.
TextSummaryTestCase::testOnlyTextSummary in modules/field/modules/text/text.test
Test sending only summary.
TextTranslationTestCase::setUp in modules/field/modules/text/text.test
TextTranslationTestCase::testTextField in modules/field/modules/text/text.test
Test that a plaintext textfield widget is correctly populated.
TextTranslationTestCase::testTextFieldFormatted in modules/field/modules/text/text.test
Check that user that does not have access the field format cannot see the source value when creating a translation.
text_field_formatter_info in modules/field/modules/text/text.module
Implements hook_field_formatter_info().
text_field_formatter_settings_form in modules/field/modules/text/text.module
Implements hook_field_formatter_settings_form().
text_field_formatter_settings_summary in modules/field/modules/text/text.module
Implements hook_field_formatter_settings_summary().
text_field_info in modules/field/modules/text/text.module
Implements hook_field_info().
text_field_instance_settings_form in modules/field/modules/text/text.module
Implements hook_field_instance_settings_form().
text_field_settings_form in modules/field/modules/text/text.module
Implements hook_field_settings_form().
text_field_validate in modules/field/modules/text/text.module
Implements hook_field_validate().
text_field_widget_form in modules/field/modules/text/text.module
Implements hook_field_widget_form().
text_field_widget_info in modules/field/modules/text/text.module
Implements hook_field_widget_info().
text_field_widget_settings_form in modules/field/modules/text/text.module
Implements hook_field_widget_settings_form().
text_help in modules/field/modules/text/text.module
Implements hook_help().
theme in includes/theme.inc
Generates themed output.
ThemeFastTestCase::testUserAutocomplete in modules/simpletest/tests/theme.test
Tests access to user autocompletion and verify the correct results.
ThemeHookInitUnitTest::testThemeInitializationHookInit in modules/simpletest/tests/theme.test
Test that the theme system can generate output when called by hook_init().
ThemeHtmlTag::testThemeHtmlTag in modules/simpletest/tests/theme.test
Test function theme_html_tag()
ThemeLinksUnitTest::testDrupalPreRenderLinks in modules/simpletest/tests/theme.test
Test the use of drupal_pre_render_links() on a nested array of links.
ThemeTableUnitTest::testThemeTableNoStickyHeaders in modules/simpletest/tests/theme.test
If $sticky is FALSE, no tableheader.js should be included.
ThemeTableUnitTest::testThemeTableStickyHeaders in modules/simpletest/tests/theme.test
Tableheader.js provides 'sticky' table headers, and is included by default.
ThemeTableUnitTest::testThemeTableWithEmptyMessage in modules/simpletest/tests/theme.test
Tests that the table header is printed correctly even if there are no rows, and that the empty text is displayed correctly.
ThemeUnitTest::testAlter in modules/simpletest/tests/theme.test
Ensures theme hook_*_alter() implementations can run before anything is rendered.
ThemeUnitTest::testCSSOverride in modules/simpletest/tests/theme.test
Ensures a theme's .info file is able to override a module CSS file from being added to the page.
ThemeUnitTest::testFrontPageThemeSuggestion in modules/simpletest/tests/theme.test
Ensure page-front template suggestion is added when on front page.
ThemeUnitTest::testPreprocessForSuggestions in modules/simpletest/tests/theme.test
Preprocess functions for the base hook should run even for suggestion implementations.
ThemeUnitTest::testThemeSuggestions in modules/simpletest/tests/theme.test
Test function theme_get_suggestions() for SA-CORE-2009-003.
ThemeUpdater::postInstallTasks in modules/system/system.updater.inc
Return an array of links to pages that should be visited post operation.
theme_aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Returns HTML for the aggregator page list form for assigning categories.
theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Prints the RSS page for a feed.
theme_book_admin_table in modules/book/book.admin.inc
Returns HTML for a book administration form.
theme_breadcrumb in includes/theme.inc
Returns HTML for a breadcrumb trail.
theme_color_scheme_form in modules/color/color.module
Returns HTML for a theme's color form.
theme_comment_block in modules/comment/comment.module
Returns HTML for a list of recent comments to be displayed in the comment block.
theme_comment_post_forbidden in modules/comment/comment.module
Returns HTML for a "you can't post comments" notice.
theme_dashboard_disabled_blocks in modules/dashboard/dashboard.module
Returns HTML for a set of disabled blocks, for display in dashboard customization mode.
theme_dblog_message in modules/dblog/dblog.admin.inc
Returns HTML for a log message.
theme_feed_icon in includes/theme.inc
Returns HTML for a feed icon.
theme_field_multiple_value_form in modules/field/field.form.inc
Returns HTML for an individual form element.
theme_file_formatter_table in modules/file/file.field.inc
Returns HTML for a file attachments table.
theme_file_upload_help in modules/file/file.field.inc
Returns HTML for help text based on file upload validators.
theme_file_widget_multiple in modules/file/file.field.inc
Returns HTML for a group of file upload widgets.
theme_filter_admin_overview in modules/filter/filter.admin.inc
Returns HTML for the text format administration overview form.
theme_filter_tips in modules/filter/filter.pages.inc
Returns HTML for a set of filter tips.
theme_filter_tips_more_info in modules/filter/filter.module
Returns HTML for a link to the more extensive filter tips.
theme_image_example_colorize_summary in examples/image_example/image_example.module
Formats a summary of an image colorize effect.
theme_image_example_image in examples/image_example/image_example.pages.inc
Theme function displays an image rendered using the specified style.
theme_image_resize_summary in modules/image/image.admin.inc
Returns HTML for a summary of an image resize effect.
theme_image_rotate_summary in modules/image/image.admin.inc
Returns HTML for a summary of an image rotate effect.
theme_image_scale_summary in modules/image/image.admin.inc
Returns HTML for a summary of an image scale effect.
theme_image_style_effects in modules/image/image.admin.inc
Returns HTML for a listing of the effects within a specific image style.
theme_image_style_list in modules/image/image.admin.inc
Returns HTML for the page containing the list of image styles.
theme_image_style_preview in modules/image/image.admin.inc
Returns HTML for a preview of an image style.
theme_locale_date_format_form in modules/locale/locale.admin.inc
Returns HTML for a locale date format form.
theme_locale_languages_configure_form in modules/locale/locale.admin.inc
Returns HTML for a language configuration form.
theme_locale_languages_overview_form in modules/locale/locale.admin.inc
Returns HTML for the language overview form.
theme_mark in includes/theme.inc
Returns HTML for a marker for new or updated content.
theme_menu_local_task in includes/menu.inc
Returns HTML for a single local task link.
theme_menu_local_tasks in includes/menu.inc
Returns HTML for primary and secondary local tasks.
theme_menu_overview_form in modules/menu/menu.admin.inc
Returns HTML for the menu overview form into a table.
theme_more_help_link in includes/theme.inc
Returns HTML for a "more help" link.
theme_more_link in includes/theme.inc
Returns HTML for a "more" link, like those used in blocks.
theme_nodeapi_example_rating in examples/nodeapi_example/nodeapi_example.module
A custom theme function.
theme_node_add_list in modules/node/node.pages.inc
Returns HTML for a list of available node types for node creation.
theme_node_admin_overview in modules/node/content_types.inc
Returns HTML for a node type description for the content type admin overview page.
theme_node_preview in modules/node/node.pages.inc
Returns HTML for a node preview for display during node creation and editing.
theme_node_recent_block in modules/node/node.module
Returns HTML for a list of recent content.
theme_node_search_admin in modules/node/node.module
Returns HTML for the content ranking part of the search settings admin page.
theme_options_none in modules/field/modules/options/options.module
Returns HTML for the label for the empty value for options that are not required.
theme_overlay_disable_message in modules/overlay/overlay.module
Returns the HTML for the message about how to disable the overlay.
theme_pager in includes/pager.inc
Returns HTML for a query pager.
theme_pager_link in includes/pager.inc
Returns HTML for a link to a specific query result page.
theme_poll_choices in modules/poll/poll.module
Returns HTML for an admin poll form for choices.
theme_profile_admin_overview in modules/profile/profile.admin.inc
Returns HTML for the profile field overview form into a drag and drop enabled table.
theme_queue_items in examples/queue_example/queue_example.module
Themes the queue display.
theme_render_example_add_notes in examples/render_example/render_example.module
Wraps a div and add a little text after the rendered #children.
theme_shortcut_set_customize in modules/shortcut/shortcut.admin.inc
Returns HTML for a shortcut set customization form.
theme_simpletest_test_table in modules/simpletest/simpletest.pages.inc
Returns HTML for a test list generated by simpletest_test_form() into a table.
theme_status_messages in includes/theme.inc
Returns HTML for status and/or error messages, grouped by type.
theme_status_report in modules/system/system.admin.inc
Returns HTML for the status report.
theme_system_admin_index in modules/system/system.admin.inc
Returns HTML for the output of the dashboard page.
theme_system_compact_link in modules/system/system.module
Returns HTML for a link to show or hide inline help descriptions.
theme_system_date_time_settings in modules/system/system.admin.inc
Returns HTML for the date settings form.
theme_system_modules_fieldset in modules/system/system.admin.inc
Returns HTML for the modules form.
theme_system_modules_uninstall in modules/system/system.admin.inc
Returns HTML for a table of currently disabled modules.
theme_system_powered_by in modules/system/system.module
Returns HTML for the Powered by Drupal text.
theme_system_themes_page in modules/system/system.admin.inc
Returns HTML for the Appearance page.
theme_tablesort_indicator in includes/theme.inc
Returns HTML for a sort icon.
theme_task_list in includes/theme.maintenance.inc
Returns HTML for a list of maintenance tasks to perform.
theme_taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Returns HTML for a terms overview form as a sortable list of terms.
theme_taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
Returns HTML for the vocabulary overview form as a sortable list of vocabularies.
theme_toolbar_toggle in modules/toolbar/toolbar.module
Formats an element used to toggle the toolbar drawer's visibility.
theme_trigger_display in modules/trigger/trigger.admin.inc
Returns HTML for the form showing actions assigned to a trigger.
theme_update_last_check in modules/update/update.module
Returns HTML for the last time we checked for update data.
theme_update_report in modules/update/update.report.inc
Returns HTML for the project status report.
theme_update_status_label in modules/update/update.report.inc
Returns HTML for a label to display for a project's update status.
theme_update_version in modules/update/update.report.inc
Returns HTML for the version display of a project.
theme_user_admin_permissions in modules/user/user.admin.inc
Returns HTML for the administer permissions page.
theme_user_admin_roles in modules/user/user.admin.inc
Returns HTML for the role order and new role form.
theme_vertical_tabs in includes/form.inc
Returns HTML for an element's children fieldsets as vertical tabs.
theming_example_list_page in examples/theming_example/theming_example.module
An example page where the output is supplied as an array which is themed into a list and styled with css.
theming_example_page in examples/theming_example/theming_example.module
Initial landing page explaining the use of the module.
theming_example_select_form in examples/theming_example/theming_example.module
A simple form that displays a select box and submit button.
theming_example_select_form_submit in examples/theming_example/theming_example.module
theming_example_text_form in examples/theming_example/theming_example.module
A simple form that displays a textfield and submit button.
theming_example_text_form_submit in examples/theming_example/theming_example.module
TokenExampleTestCase::testInterface in examples/token_example/token_example.test
TokenReplaceTestCase::testSystemDateTokenReplacement in modules/system/system.test
Tests the generation of all system date tokens.
TokenReplaceTestCase::testSystemSiteTokenReplacement in modules/system/system.test
Tests the generation of all system site information tokens.
TokenReplaceTestCase::testSystemTokenRecognition in modules/system/system.test
Test whether token-replacement works in various contexts.
TokenReplaceTestCase::testTokenReplacement in modules/system/system.test
Creates a user and a node, then tests the tokens generated from them.
token_example_example_form in examples/token_example/token_example.module
Form builder; display lists of supported token entities and text to tokenize.
token_example_token_info in examples/token_example/token_example.tokens.inc
Implements hook_token_info().
toolbar_help in modules/toolbar/toolbar.module
Implements hook_help().
toolbar_permission in modules/toolbar/toolbar.module
Implements hook_permission().
toolbar_view in modules/toolbar/toolbar.module
Build the admin menu as a structured array ready for drupal_render().
TrackerTest::testTrackerAdminUnpublish in modules/tracker/tracker.test
Test that publish/unpublish works at admin/content/node
TrackerTest::testTrackerAll in modules/tracker/tracker.test
Test the presence of nodes on the global tracker listing.
TrackerTest::testTrackerCronIndexing in modules/tracker/tracker.test
Test that existing nodes are indexed by cron.
TrackerTest::testTrackerNewComments in modules/tracker/tracker.test
Test comment counters on the tracker listing.
TrackerTest::testTrackerNewNodes in modules/tracker/tracker.test
Test the presence of the "new" flag for nodes.
TrackerTest::testTrackerUser in modules/tracker/tracker.test
Test the presence of nodes on a user's tracker listing.
tracker_help in modules/tracker/tracker.module
Implements hook_help().
tracker_page in modules/tracker/tracker.pages.inc
Menu callback; prints a listing of active nodes on the site.
TranslatableUpgradePathTestCase::testTranslatableUpgrade in modules/simpletest/tests/upgrade/upgrade.translatable.test
Test a successful upgrade (no negotiation).
TranslationTestCase::addLanguage in modules/translation/translation.test
Install a the specified language if it has not been already. Otherwise make sure that the language is enabled.
TranslationTestCase::assertLanguageSwitchLinks in modules/translation/translation.test
Check that the specified language switch links are found/not found.
TranslationTestCase::createPage in modules/translation/translation.test
Create a "Basic page" in the specified language.
TranslationTestCase::createTranslation in modules/translation/translation.test
Create a translation for the specified basic page in the specified language.
TranslationTestCase::setUp in modules/translation/translation.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
TranslationTestCase::testContentTranslation in modules/translation/translation.test
Create a basic page with translation, modify the basic page outdating translation, and update translation.
TranslationTestCase::testLanguageSwitcherBlockIntegration in modules/translation/translation.test
Test that the language switcher block alterations work as intended.
TranslationTestCase::testLanguageSwitchLinks in modules/translation/translation.test
Check that language switch links behave properly.
translation_form_node_form_alter in modules/translation/translation.module
Implements hook_form_BASE_FORM_ID_alter().
translation_form_node_type_form_alter in modules/translation/translation.module
Implements hook_form_FORM_ID_alter().
translation_help in modules/translation/translation.module
Implements hook_help().
translation_node_overview in modules/translation/translation.pages.inc
Overview page for a node's translations.
translation_node_prepare in modules/translation/translation.module
Implements hook_node_prepare().
translation_node_validate in modules/translation/translation.module
Implements hook_node_validate().
translation_permission in modules/translation/translation.module
Implements hook_permission().
TriggerActionTestCase::assertSystemEmailTokenReplacement in modules/trigger/trigger.test
Asserts correct token replacement for the given trigger and account.
TriggerActionTestCase::assertSystemMessageTokenReplacement in modules/trigger/trigger.test
Asserts correct token replacement for the given trigger and account.
TriggerActionTestCase::assignSimpleAction in modules/trigger/trigger.test
Assigns a simple (non-configurable) action to a trigger.
TriggerActionTestCase::assignSystemEmailAction in modules/trigger/trigger.test
Assigns a system_send_email_action to the passed-in trigger.
TriggerActionTestCase::assignSystemMessageAction in modules/trigger/trigger.test
Assigns a system message action to the passed-in trigger.
TriggerActionTestCase::generateMessageWithTokens in modules/trigger/trigger.test
Creates a message with tokens.
TriggerActionTestCase::generateTokenExpandedComparison in modules/trigger/trigger.test
Generates a comparison message to match the pre-token-replaced message.
TriggerContentTestCase::actionInfo in modules/trigger/trigger.test
Returns some info about each of the content actions.
TriggerContentTestCase::testActionContentMultiple in modules/trigger/trigger.test
Tests multiple node actions.
TriggerContentTestCase::testActionsContent in modules/trigger/trigger.test
Tests several content-oriented trigger issues.
TriggerCronTestCase::testActionsCron in modules/trigger/trigger.test
Tests assigning multiple actions to the cron trigger.
TriggerExampleTestCase::testTriggersomethingEvent in examples/trigger_example/trigger_example.test
Test assigning a configurable action to the triggersomething event.
TriggerExampleTestCase::testUserLogin in examples/trigger_example/trigger_example.test
TriggerOrphanedActionsTestCase::testActionsOrphaned in modules/trigger/trigger.test
Tests logic around orphaned actions.
TriggerOtherTestCase::testActionsComment in modules/trigger/trigger.test
Tests triggering on comment save.
TriggerOtherTestCase::testActionsTaxonomy in modules/trigger/trigger.test
Tests triggering on taxonomy new term.
TriggerOtherTestCase::testActionsUser in modules/trigger/trigger.test
Tests triggering on user create and user login.
TriggerUserActionTestCase::testUserActionAssignmentExecution in modules/trigger/trigger.test
Tests user action assignment and execution.
TriggerUserTokenTestCase::testUserTriggerTokenReplacement in modules/trigger/trigger.test
Tests a variety of token replacements in actions.
TriggerWebTestCase::configureAdvancedAction in modules/trigger/trigger.test
Configure an advanced action.
trigger_assign_form in modules/trigger/trigger.admin.inc
Returns the form for assigning an action to a trigger.
trigger_assign_form_submit in modules/trigger/trigger.admin.inc
Submit function for trigger_assign_form().
trigger_assign_form_validate in modules/trigger/trigger.admin.inc
Validation function for trigger_assign_form().
trigger_example_form in examples/trigger_example/trigger_example.module
Trigger example test form.
trigger_example_form_submit in examples/trigger_example/trigger_example.module
Submit handler for the trigger_example_form().
trigger_example_help in examples/trigger_example/trigger_example.module
Implements hook_help().
trigger_example_trigger_info in examples/trigger_example/trigger_example.module
Implements hook_trigger_info().
trigger_example_trigger_info_alter in examples/trigger_example/trigger_example.module
Implements hook_trigger_info_alter().
trigger_help in modules/trigger/trigger.module
Implements hook_help().
trigger_test_action_info in modules/trigger/tests/trigger_test.module
Implements hook_action_info().
trigger_test_trigger_info in modules/trigger/tests/trigger_test.module
Implements hook_trigger_info().
trigger_trigger_info in modules/trigger/trigger.module
Implements hook_trigger_info().
trigger_unassign in modules/trigger/trigger.admin.inc
Confirm removal of an assigned action.
trigger_unassign_submit in modules/trigger/trigger.admin.inc
Submit callback for trigger_unassign() form.
truncate_utf8 in includes/unicode.inc
Truncates a UTF-8-encoded string safely to a number of characters.
UnicodeUnitTest::helperTestStrLen in modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestStrToLower in modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestStrToUpper in modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestSubStr in modules/simpletest/tests/unicode.test
UnicodeUnitTest::helperTestUcFirst in modules/simpletest/tests/unicode.test
UnicodeUnitTest::runTruncateTests in modules/simpletest/tests/unicode.test
Runs test cases for helperTestTruncate().
UnicodeUnitTest::testDecodeEntities in modules/simpletest/tests/unicode.test
Test decode_entities().
UnicodeUnitTest::testEmulatedUnicode in modules/simpletest/tests/unicode.test
Test emulated unicode features.
UnicodeUnitTest::testMbStringUnicode in modules/simpletest/tests/unicode.test
Test full unicode features implemented using the mbstring extension.
UpdateCoreTestCase::testDatestampMismatch in modules/update/update.test
Ensure proper results where there are date mismatches among modules.
UpdateCoreTestCase::testModulePageRegularUpdate in modules/update/update.test
Check the messages at admin/modules when missing an update.
UpdateCoreTestCase::testModulePageRunCron in modules/update/update.test
Check that running cron updates the list of available updates.
UpdateCoreTestCase::testModulePageSecurityUpdate in modules/update/update.test
Check the messages at admin/modules when missing a security update.
UpdateCoreTestCase::testModulePageUpToDate in modules/update/update.test
Check the messages at admin/modules when the site is up to date.
UpdateCoreTestCase::testNormalUpdateAvailable in modules/update/update.test
Tests the update module when one normal update ("7.1") is available.
UpdateCoreTestCase::testNoUpdatesAvailable in modules/update/update.test
Tests the update module when no updates are available.
UpdateCoreTestCase::testSecurityUpdateAvailable in modules/update/update.test
Tests the update module when a security update ("7.2") is available.
UpdateCoreTestCase::testServiceUnavailable in modules/update/update.test
Tests the update module when the update server returns 503 (Service unavailable) errors.
UpdateDependencyHookInvocationTestCase::testHookUpdateDependencies in modules/simpletest/tests/update.test
Test the structure of the array returned by hook_update_dependencies().
UpdateDependencyMissingTestCase::testMissingUpdate in modules/simpletest/tests/update.test
UpdateDependencyOrderingTestCase::testUpdateOrderingModuleInterdependency in modules/simpletest/tests/update.test
Test that dependencies between modules are resolved correctly.
UpdateDependencyOrderingTestCase::testUpdateOrderingSingleModule in modules/simpletest/tests/update.test
Test that updates within a single module run in the correct order.
UpdateFeedItemTestCase::testUpdateFeedItem in modules/aggregator/aggregator.test
Test running "update items" from the 'admin/config/services/aggregator' page.
UpdateFeedTestCase::testUpdateFeed in modules/aggregator/aggregator.test
Create a feed and attempt to update it.
Updater::factory in includes/updater.inc
Return an Updater of the appropriate type depending on the source.
Updater::getProjectTitle in includes/updater.inc
Return the project name from a Drupal info file.
Updater::getUpdaterFromDirectory in includes/updater.inc
Determine which Updater class can operate on the given directory.
Updater::install in includes/updater.inc
Installs a Drupal project, returns a list of next actions.
Updater::prepareInstallDirectory in includes/updater.inc
Make sure the installation parent directory exists and is writable.
Updater::update in includes/updater.inc
Updates a Drupal project, returns a list of next actions.
UpdateScriptFunctionalTest::testThemeSystem in modules/system/system.test
Tests the effect of using the update script on the theme system.
UpdateTestContribCase::testHookUpdateStatusAlter in modules/update/update.test
Check that hook_update_status_alter() works to change a status.
UpdateTestContribCase::testNoReleasesAvailable in modules/update/update.test
Tests when there is no available release data for a contrib module.
UpdateTestContribCase::testUpdateBaseThemeSecurityUpdate in modules/update/update.test
Test that subthemes are notified about security updates for base themes.
UpdateTestContribCase::testUpdateBrokenFetchURL in modules/update/update.test
Make sure that if we fetch from a broken URL, sane things happen.
UpdateTestContribCase::testUpdateContribBasic in modules/update/update.test
Test the basic functionality of a contrib module on the status report.
UpdateTestContribCase::testUpdateContribOrder in modules/update/update.test
Test that contrib projects are ordered by project name.
UpdateTestContribCase::testUpdateShowDisabledThemes in modules/update/update.test
Test that disabled themes are only shown when desired.
UpdateTestFileTransfer::getSettingsForm in modules/update/tests/update_test.module
UpdateTestHelper::standardTests in modules/update/update.test
Run a series of assertions that are applicable for all update statuses.
UpdateTestUploadCase::testFileNameExtensionMerging in modules/update/update.test
Ensure that archiver extensions are properly merged in the UI.
UpdateTestUploadCase::testUpdateManagerCoreSecurityUpdateMessages in modules/update/update.test
Check the messages on Update manager pages when missing a security update.
UpdateTestUploadCase::testUploadModule in modules/update/update.test
Tests upload and extraction of a module.
update_authorize_batch_copy_project in modules/update/update.authorize.inc
Copy a project to its proper place when authorized with elevated privileges.
update_authorize_install_batch_finished in modules/update/update.authorize.inc
Batch callback for when the authorized install batch is finished.
update_authorize_run_install in modules/update/update.authorize.inc
Callback invoked by authorize.php to install a new project.
update_authorize_run_update in modules/update/update.authorize.inc
Callback invoked by authorize.php to update existing projects.
update_authorize_update_batch_finished in modules/update/update.authorize.inc
Batch callback for when the authorized update batch is finished.
update_calculate_project_data in modules/update/update.compare.inc
Calculate the current update status of all projects on the site.
update_calculate_project_update_status in modules/update/update.compare.inc
Calculate the current update status of a specific project.
update_do_one in includes/update.inc
Perform one update and store the results for display on finished page.
update_fetch_data_batch in modules/update/update.fetch.inc
Process a step in the batch for fetching available update data.
update_fetch_data_finished in modules/update/update.fetch.inc
Batch API callback when all fetch tasks have been completed.
update_help in modules/update/update.module
Implements hook_help().
update_mail in modules/update/update.module
Implements hook_mail().
update_manager_archive_extract in modules/update/update.manager.inc
Unpack a downloaded archive file.
update_manager_batch_project_get in modules/update/update.manager.inc
Batch operation: download, unpack, and verify a project.
update_manager_download_batch_finished in modules/update/update.manager.inc
Batch callback invoked when the download batch is completed.
update_manager_install_form in modules/update/update.manager.inc
Build the form for the update manager page to install new projects.
update_manager_install_form_submit in modules/update/update.manager.inc
Handle form submission when installing new projects via the update manager.
update_manager_install_form_validate in modules/update/update.manager.inc
Validate the form for installing a new project via the update manager.
update_manager_update_form in modules/update/update.manager.inc
Build the form for the update manager page to update existing projects.
update_manager_update_form_submit in modules/update/update.manager.inc
Submit function for the main update form.
update_manager_update_form_validate in modules/update/update.manager.inc
Validation callback to ensure that at least one project is selected.
update_manager_update_ready_form in modules/update/update.manager.inc
Build the form when the site is ready to update (after downloading).
update_manager_update_ready_form_submit in modules/update/update.manager.inc
Submit handler for the form to confirm that an update should continue.
update_manual_status in modules/update/update.fetch.inc
Callback to manually check the update status without cron.
update_process_project_info in modules/update/update.compare.inc
Process the list of projects on the system to figure out the currently installed versions, and other information that is required before we can compare against the available releases to produce the status report.
update_requirements in modules/update/update.install
Implements hook_requirements().
update_script_selection_form in ./update.php
update_settings in modules/update/update.settings.inc
Form builder for the update settings tab.
update_settings_validate in modules/update/update.settings.inc
Validation callback for the settings form.
update_test_filetransfer_info in modules/update/tests/update_test.module
Implements hook_filetransfer_info().
update_test_menu in modules/update/tests/update_test.module
Implements hook_menu().
update_verify_update_archive in modules/update/update.module
Implements hook_verify_update_archive().
UpgradePathTaxonomyTestCase::testTaxonomyUpgrade in modules/simpletest/tests/upgrade/upgrade.taxonomy.test
Basic tests for the taxonomy upgrade.
UpgradePathTestCase::performUpgrade in modules/simpletest/tests/upgrade/upgrade.test
Perform the upgrade.
UploadUpgradePathTestCase::testUploadUpgrade in modules/simpletest/tests/upgrade/upgrade.upload.test
Test a successful upgrade.
UrlAlterFunctionalTest::assertUrlInboundAlter in modules/simpletest/tests/path.test
Assert that a inbound path is altered to an expected value.
UrlAlterFunctionalTest::assertUrlOutboundAlter in modules/simpletest/tests/path.test
Assert that an outbound path is altered to an expected value.
UrlAlterFunctionalTest::getInfo in modules/simpletest/tests/path.test
UrlAlterFunctionalTest::testCurrentUrlRequestedPath in modules/simpletest/tests/path.test
Test current_path() and request_path().
UrlAlterFunctionalTest::testUrlAlter in modules/simpletest/tests/path.test
Test that URL altering works and that it occurs in the correct order.
UserAdminTestCase::testUserAdmin in modules/user/user.test
Registers a user and deletes it.
UserAuthmapAssignmentTestCase::getInfo in modules/user/user.test
UserAuthmapAssignmentTestCase::testAuthmapAssignment in modules/user/user.test
Test authmap assignment and retrieval.
UserAutocompleteTestCase::testUserAutocomplete in modules/user/user.test
Tests access to user autocompletion and verify the correct results.
UserBlocksUnitTests::insertSession in modules/user/user.test
Insert a user session into the {sessions} table. This function is used since we cannot log in more than one user at the same time in tests.
UserBlocksUnitTests::testUserLoginBlock in modules/user/user.test
Test the user login block.
UserBlocksUnitTests::testWhosOnlineBlock in modules/user/user.test
Test the Who's Online block.
UserCancelTestCase::testMassUserCancelByAdmin in modules/user/user.test
Create an administrative user and mass-delete other users.
UserCancelTestCase::testUserAnonymize in modules/user/user.test
Delete account and anonymize all content.
UserCancelTestCase::testUserBlock in modules/user/user.test
Disable account and keep all content.
UserCancelTestCase::testUserBlockUnpublish in modules/user/user.test
Disable account and unpublish all content.
UserCancelTestCase::testUserCancelByAdmin in modules/user/user.test
Create an administrative user and delete another user.
UserCancelTestCase::testUserCancelInvalid in modules/user/user.test
Attempt invalid account cancellations.
UserCancelTestCase::testUserCancelUid1 in modules/user/user.test
Tests that user account for uid 1 cannot be cancelled.
UserCancelTestCase::testUserCancelWithoutPermission in modules/user/user.test
Attempt to cancel account without permission.
UserCancelTestCase::testUserDelete in modules/user/user.test
Delete account and remove all content.
UserCreateTestCase::testUserAdd in modules/user/user.test
Create a user through the administration interface and ensure that it displays in the user list.
UserEditedOwnAccountTestCase::testUserEditedOwnAccount in modules/user/user.test
UserEditTestCase::testUserEdit in modules/user/user.test
Test user edit page.
UserLoginTestCase::assertFailedLogin in modules/user/user.test
Make an unsuccessful login attempt.
UserPermissionsTestCase::testAdministratorRole in modules/user/user.test
Test assigning of permissions for the administrator role.
UserPermissionsTestCase::testUserPermissionChanges in modules/user/user.test
Change user permissions and check user_access().
UserPermissionsTestCase::testUserRoleChangePermissions in modules/user/user.test
Verify proper permission changes by user_role_change_permissions().
UserPictureTestCase::saveUserPicture in modules/user/user.test
UserPictureTestCase::testExternalPicture in modules/user/user.test
Test HTTP schema working with user pictures.
UserPictureTestCase::testNoPicture in modules/user/user.test
UserPictureTestCase::testPictureIsValid in modules/user/user.test
Do the test: Picture is valid (proper size and dimension)
UserPictureTestCase::testWithGDinvalidDimension in modules/user/user.test
Do the test: GD Toolkit is installed Picture has invalid dimension
UserPictureTestCase::testWithGDinvalidSize in modules/user/user.test
Do the test: GD Toolkit is installed Picture has invalid size
UserPictureTestCase::testWithoutGDinvalidDimension in modules/user/user.test
Do the test: GD Toolkit is not installed Picture has invalid size
UserPictureTestCase::testWithoutGDinvalidSize in modules/user/user.test
Do the test: GD Toolkit is not installed Picture has invalid size
UserRegistrationTestCase::testRegistrationDefaultValues in modules/user/user.test
UserRegistrationTestCase::testRegistrationEmailDuplicates in modules/user/user.test
UserRegistrationTestCase::testRegistrationWithEmailVerification in modules/user/user.test
UserRegistrationTestCase::testRegistrationWithoutEmailVerification in modules/user/user.test
UserRegistrationTestCase::testRegistrationWithUserFields in modules/user/user.test
Tests Field API fields on user registration forms.
UserRoleAdminTestCase::testRoleAdministration in modules/user/user.test
Test adding, renaming and deleting roles.
UserRoleAdminTestCase::testRoleWeightChange in modules/user/user.test
Test user role weight change operation.
UserRolesAssignmentTestCase::getInfo in modules/user/user.test
UserRolesAssignmentTestCase::testAssignAndRemoveRole in modules/user/user.test
Tests that a user can be assigned a role and that the role can be removed again.
UserRolesAssignmentTestCase::testCreateUserWithRole in modules/user/user.test
Tests that when creating a user the role can be assigned. And that it can be removed again.
UserRolesAssignmentTestCase::userLoadAndCheckRoleAssigned in modules/user/user.test
Check role on user object.
UserSaveTestCase::testUserImport in modules/user/user.test
Test creating a user with arbitrary uid.
UserSignatureTestCase::testUserSignature in modules/user/user.test
Test that a user can change their signature format and that it is respected upon display.
UserTimeZoneFunctionalTest::testUserTimeZone in modules/user/user.test
Tests the display of dates and time when user-configurable time zones are set.
UserTokenReplaceTestCase::testUserTokenReplacement in modules/user/user.test
Creates a user, then tests the tokens generated from it.
UserUserSearchTestCase::testUserSearch in modules/user/user.test
UserValidateCurrentPassCustomForm::testUserValidateCurrentPassCustomForm in modules/user/user.test
Tests that user_validate_current_pass can be reused on a custom form.
user_account_form in modules/user/user.module
Helper function to add default user account fields to user registration and edit form.
user_account_form_validate in modules/user/user.module
Form validation handler for user_account_form().
user_action_info in modules/user/user.module
Implements hook_action_info().
user_admin in modules/user/user.admin.inc
user_admin_account in modules/user/user.admin.inc
Form builder; User administration page.
user_admin_account_submit in modules/user/user.admin.inc
Submit the user administration update form.
user_admin_account_validate in modules/user/user.admin.inc
user_admin_permissions in modules/user/user.admin.inc
Menu callback: administer permissions.
user_admin_permissions_submit in modules/user/user.admin.inc
Save permissions selected on the administer permissions page.
user_admin_role in modules/user/user.admin.inc
Form to configure a single role.
user_admin_roles in modules/user/user.admin.inc
Form to re-order roles or add a new one.
user_admin_roles_order_submit in modules/user/user.admin.inc
Form submit function. Update the role weights.
user_admin_role_delete_confirm in modules/user/user.admin.inc
Form to confirm role delete operation.
user_admin_role_delete_confirm_submit in modules/user/user.admin.inc
Form submit handler for user_admin_role_delete_confirm().
user_admin_role_submit in modules/user/user.admin.inc
Form submit handler for the user_admin_role() form.
user_admin_role_validate in modules/user/user.admin.inc
Form validation handler for the user_admin_role() form.
user_admin_settings in modules/user/user.admin.inc
Form builder; Configure user settings for this site.
user_block_configure in modules/user/user.module
Implements hook_block_configure().
user_block_info in modules/user/user.module
Implements hook_block_info().
user_block_view in modules/user/user.module
Implements hook_block_view().
user_cancel in modules/user/user.module
Cancel a user account.
user_cancel_confirm in modules/user/user.pages.inc
Menu callback; Cancel a user account via e-mail confirmation link.
user_cancel_confirm_form in modules/user/user.pages.inc
Form builder; confirm form for cancelling user account.
user_cancel_confirm_form_submit in modules/user/user.pages.inc
Submit handler for the account cancellation confirm form.
user_cancel_methods in modules/user/user.pages.inc
Helper function to return available account cancellation methods.
user_entity_info in modules/user/user.module
Implements hook_entity_info().
user_external_login_register in modules/user/user.module
Helper function for authentication modules. Either logs in or registers the current user, based on username. Either way, the global $user object is populated and login tasks are performed.
user_field_extra_fields in modules/user/user.module
Implements hook_field_extra_fields().
user_filters in modules/user/user.module
List user administration filters that can be applied.
user_filter_form in modules/user/user.admin.inc
Form builder; Return form for user administration filters.
user_filter_form_submit in modules/user/user.admin.inc
Process result from user administration filter form.
user_form_field_ui_field_edit_form_alter in modules/user/user.module
Implements hook_form_FORM_ID_alter().
user_form_process_password_confirm in modules/user/user.module
Form element process handler for client-side password validation.
user_form_test_current_password in modules/user/tests/user_form_test.module
A test form for user_validate_current_pass().
user_form_test_current_password_submit in modules/user/tests/user_form_test.module
Submit function for the test form for user_validate_current_pass().
user_help in modules/user/user.module
Implement hook_help().
user_login in modules/user/user.module
Form builder; the main user login form.
user_login_block in modules/user/user.module
user_login_final_validate in modules/user/user.module
The final validation handler on the login form.
user_login_name_validate in modules/user/user.module
A FAPI validate handler. Sets an error if supplied username has been blocked.
user_menu_title in modules/user/user.module
Menu item title callback for the 'user' path.
user_multiple_cancel_confirm in modules/user/user.module
user_pass in modules/user/user.pages.inc
Form builder; Request a password reset.
user_pass_reset in modules/user/user.pages.inc
Menu callback; process one time login link and redirects to the user page on success.
user_pass_submit in modules/user/user.pages.inc
user_pass_validate in modules/user/user.pages.inc
user_permission in modules/user/user.module
Implements hook_permission().
user_profile_form in modules/user/user.pages.inc
Form builder; edit a user account or one of their profile categories.
user_profile_form_submit in modules/user/user.pages.inc
Submit function for the user account and profile editing form.
user_register_form in modules/user/user.module
Form builder; the user registration form.
user_register_submit in modules/user/user.module
Submit handler for the user registration form.
user_roles in modules/user/user.module
Retrieve an array of roles matching specified conditions.
user_tokens in modules/user/user.tokens.inc
Implements hook_tokens().
user_token_info in modules/user/user.tokens.inc
Implements hook_token_info().
user_update_7000 in modules/user/user.install
Increase the length of the password field to accommodate better hashes.
user_update_7002 in modules/user/user.install
Convert user time zones from time zone offsets to time zone names.
user_update_7014 in modules/user/user.install
Rename the 'post comments without approval' permission.
user_update_7017 in modules/user/user.install
Update email templates to use new tokens.
user_user_categories in modules/user/user.module
Implements hook_user_categories().
user_user_operations in modules/user/user.module
Implements hook_user_operations().
user_user_view in modules/user/user.module
Implements hook_user_view().
user_validate_current_pass in modules/user/user.module
Form validation handler for the current password on the user_account_form().
user_validate_mail in modules/user/user.module
Validates a user's email address.
user_validate_name in modules/user/user.module
Verify the syntax of the given name.
user_validate_picture in modules/user/user.module
Validates an image uploaded by a user.
ValidUrlTestCase::testInvalidAbsolute in modules/simpletest/tests/common.test
Test invalid absolute urls.
ValidUrlTestCase::testInvalidRelative in modules/simpletest/tests/common.test
Test invalid relative urls.
ValidUrlTestCase::testValidAbsolute in modules/simpletest/tests/common.test
Test valid absolute urls.
ValidUrlTestCase::testValidRelative in modules/simpletest/tests/common.test
Test valid relative urls.
vertical_tabs_example_form_alter in examples/vertical_tabs_example/vertical_tabs_example.module
Implement hook_form_alter().
watchdog_severity_levels in includes/common.inc
Severity levels, as defined in RFC 3164: http://www.ietf.org/rfc/rfc3164.txt.
XMLRPCBasicTestCase::testInvalidMessageParsing in modules/simpletest/tests/xmlrpc.test
Ensure that XML-RPC correctly handles invalid messages when parsing.
XMLRPCBasicTestCase::testMethodSignature in modules/simpletest/tests/xmlrpc.test
Ensure that system.methodSignature returns an array of signatures.
XmlrpcExampleTestCase::testXmlrpcExampleAlter in examples/xmlrpc_example/xmlrpc_example.test
Perform several XML-RPC requests altering the server behaviour with hook_xmlrpc_alter API
XmlrpcExampleTestCase::testXmlrpcExampleBasic in examples/xmlrpc_example/xmlrpc_example.test
Perform several calls to the XML-RPC interface to test the services.
XmlrpcExampleTestCase::testXmlrpcExampleClient in examples/xmlrpc_example/xmlrpc_example.test
Perform several calls using XML-RPC web client.
XmlrpcExampleTestCase::testXmlrpcExampleServer in examples/xmlrpc_example/xmlrpc_example.test
Perform several XML-RPC requests with different server settings.
XMLRPCMessagesTestCase::testAlterListMethods in modules/simpletest/tests/xmlrpc.test
Ensure that hook_xmlrpc_alter() can hide even builtin methods.
XMLRPCMessagesTestCase::testSizedMessages in modules/simpletest/tests/xmlrpc.test
Make sure that XML-RPC can transfer large messages.
xmlrpc_example_alter_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to enable or disable the code implemented in hook_xmlrpc_alter.
xmlrpc_example_client_add_submit in examples/xmlrpc_example/xmlrpc_example.module
Submit: query the XML-RPC endpoint for the method xmlrpc_example.add and report the result as a Drupal message.
xmlrpc_example_client_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to get two arguments, and make a call to an XML-RPC server using these arguments as input, showing the result in a message.
xmlrpc_example_client_multicall_submit in examples/xmlrpc_example/xmlrpc_example.module
Submit a multicall request: query the XML-RPC endpoint for the methods xmlrpc_example.add and xmlrpc_example.subtract and report the result as a Drupal message. Drupal's XML-RPC client builds the system.multicall request automatically when there…
xmlrpc_example_client_request_methods_submit in examples/xmlrpc_example/xmlrpc_example.module
Submit: query the XML-RPC endpoint for the method system.listMethods and report the result as a Drupal message. The result is a list of the available methods in this XML-RPC server.
xmlrpc_example_client_subtract_submit in examples/xmlrpc_example/xmlrpc_example.module
Submit: query the XML-RPC endpoint for the method xmlrpc_example.subtract and report the result as a Drupal message.
xmlrpc_example_info in examples/xmlrpc_example/xmlrpc_example.module
A simple landing-page information function.
xmlrpc_example_server_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to configure the service options. In this case the maximum and minimum values for any of the operations (add or subtraction).
xmlrpc_example_xmlrpc in examples/xmlrpc_example/xmlrpc_example.module
Implements hook_xmlrpc().
xmlrpc_server in includes/xmlrpcs.inc
Invokes XML-RPC methods on this server.
xmlrpc_server_call in includes/xmlrpcs.inc
Dispatches an XML-RPC request and any parameters to the appropriate handler.
xmlrpc_server_method_signature in includes/xmlrpcs.inc
Returns one method signature for a function.
xmlrpc_server_multicall in includes/xmlrpcs.inc
Dispatches multiple XML-RPC requests.
_action_example_page in examples/action_example/action_example.module
A simple page to explain to the developer what to do.
_aggregator_characters in modules/aggregator/aggregator.processor.inc
Helper function for teaser length choices.
_ajax_example_get_first_dropdown_options in examples/ajax_example/ajax_example.module
Helper function to populate the first dropdown. This would normally be pulling data from the database.
_ajax_example_get_second_dropdown_options in examples/ajax_example/ajax_example.module
Helper function to populate the second dropdown. This would normally be pulling data from the database.
_batch_do in includes/batch.inc
Do one execution pass in JavaScript-mode and return progress to the browser.
_batch_page in includes/batch.inc
State-based dispatcher for the batch processing page.
_batch_test_finished_helper in modules/simpletest/tests/batch_test.callbacks.inc
Common 'finished' callbacks for batches 1 to 4.
_block_rehash in modules/block/block.module
Update the 'block' DB table with the blocks currently exported by modules.
_book_add_form_elements in modules/book/book.module
Build the common elements of the book form for the node and outline forms.
_book_admin_table_tree in modules/book/book.admin.inc
Recursive helper to build the main table in the book administration page form.
_book_install_type_create in modules/book/book.install
_book_parent_select in modules/book/book.module
Build the parent selection form element for the node form or outline tab.
_comment_get_modes in modules/comment/comment.module
Return an array of viewing modes for comment listings.
_drupal_log_error in includes/errors.inc
Log a PHP error or exception, display an error page in fatal cases.
_field_example_page in examples/field_example/field_example.module
A simple page to explain to the developer what to do.
_field_ui_field_overview_form_validate_add_existing in modules/field_ui/field_ui.admin.inc
Helper function for field_ui_field_overview_form_validate.
_field_ui_field_overview_form_validate_add_new in modules/field_ui/field_ui.admin.inc
Helper function for field_ui_field_overview_form_validate.
_file_generic_settings_extensions in modules/file/file.field.inc
Element validate callback for the allowed file extensions field.
_file_generic_settings_max_filesize in modules/file/file.field.inc
Element validate callback for the maximum upload size field.
_file_test_form in modules/simpletest/tests/file_test.module
Form to test file uploads.
_file_test_form_submit in modules/simpletest/tests/file_test.module
Process the upload.
_filter_autop_tips in modules/filter/filter.module
Filter tips callback for auto-paragraph filter.
_filter_example_filter_foo_settings in examples/filter_example/filter_example.module
Settings callback for foo filter
_filter_example_filter_foo_tips in examples/filter_example/filter_example.module
Filter tips callback for foo filter.
_filter_example_filter_time_tips in examples/filter_example/filter_example.module
Filter tips callback for time filter.
_filter_example_information in examples/filter_example/filter_example.module
Simply returns a little bit of information about the example.
_filter_html_escape_tips in modules/filter/filter.module
Filter tips callback for HTML escaping filter.
_filter_html_settings in modules/filter/filter.module
Settings callback for the HTML filter.
_filter_html_tips in modules/filter/filter.module
Filter tips callback for HTML filter.
_filter_url_settings in modules/filter/filter.module
Settings callback for URL filter.
_filter_url_tips in modules/filter/filter.module
Filter tips callback for URL filter.
_format_date_callback in includes/common.inc
Callback function for preg_replace_callback().
_form_test_checkbox in modules/simpletest/tests/form_test.module
Build a form to test a checkbox.
_form_test_disabled_elements in modules/simpletest/tests/form_test.module
Build a form to test disabled elements.
_form_test_input_forgery in modules/simpletest/tests/form_test.module
Build a form to test input forgery of enabled elements.
_form_test_tableselect_form_builder in modules/simpletest/tests/form_test.module
Build a form to test the tableselect element.
_form_test_tableselect_get_data in modules/simpletest/tests/form_test.module
Create a header and options array. Helper function for callbacks.
_form_test_tableselect_multiple_false_form_submit in modules/simpletest/tests/form_test.module
Process the tableselect #multiple = FALSE submitted values.
_form_test_tableselect_multiple_true_form_submit in modules/simpletest/tests/form_test.module
Process the tableselect #multiple = TRUE submitted values.
_form_test_vertical_tabs_form in modules/simpletest/tests/form_test.module
Tests functionality of vertical tabs.
_forum_parent_select in modules/forum/forum.admin.inc
Returns a select box for available parent terms
_image_field_resolution_validate in modules/image/image.field.inc
Element validate function for resolution fields.
_locale_import_parse_plural_forms in includes/locale.inc
Parses a Plural-Forms entry from a Gettext Portable Object file header
_locale_import_po in includes/locale.inc
Parses Gettext Portable Object file information and inserts into database
_locale_languages_common_controls in modules/locale/locale.admin.inc
Common elements of the language addition and editing form.
_locale_languages_configure_form_language_table in modules/locale/locale.admin.inc
Helper function to build a language provider table.
_locale_prepare_predefined_list in includes/locale.inc
Prepares the language code list for a select form item with only the unsupported ones
_locale_rebuild_js in includes/locale.inc
(Re-)Creates the JavaScript translation file for a language.
_locale_translate_seek in includes/locale.inc
Perform a string search and display results in a table
_menu_example_basic_instructions in examples/menu_example/menu_example.module
Page callback for the simplest introduction menu entry.
_menu_example_menu_page in examples/menu_example/menu_example.module
Page callback for use with most of the menu entries. The arguments it receives determine what it outputs.
_menu_example_simple_title_callback in examples/menu_example/menu_example.module
Title callback to rewrite the '/user' menu link.
_menu_item_localize in includes/menu.inc
Localize the router item title using t() or another callback.
_menu_overview_tree_form in modules/menu/menu.admin.inc
Recursive helper function for menu_overview_form().
_menu_parents_recurse in modules/menu/menu.module
Recursive helper function for menu_parent_options().
_menu_site_is_offline in includes/menu.inc
Checks whether the site is in maintenance mode.
_node_access_rebuild_batch_finished in modules/node/node.module
Post-processing for node_access_rebuild_batch.
_node_characters in modules/node/content_types.inc
Helper function for teaser length choices.
_node_mass_update_batch_finished in modules/node/node.admin.inc
Node Mass Update Batch 'finished' callback.
_node_query_node_access_alter in modules/node/node.module
Helper for node access functions.
_openid_invalid_openid_transition in modules/openid/openid.inc
Provides transition for accounts with possibly invalid OpenID identifiers in authmap.
_openid_user_login_form_alter in modules/openid/openid.module
_php_filter_tips in modules/php/php.module
Tips callback for php filter.
_poll_choice_form in modules/poll/poll.module
_profile_field_types in modules/profile/profile.module
_profile_form_explanation in modules/profile/profile.module
_session_test_get in modules/simpletest/tests/session_test.module
Page callback, prints the stored session value to the screen.
_session_test_is_logged_in in modules/simpletest/tests/session_test.module
Menu callback, only available if current user is logged in.
_session_test_no_set in modules/simpletest/tests/session_test.module
Menu callback: turns off session saving and then tries to save a value anyway.
_session_test_set in modules/simpletest/tests/session_test.module
Page callback, stores a value in $_SESSION['session_test_value'].
_session_test_set_message in modules/simpletest/tests/session_test.module
Menu callback, sets a message to me displayed on the following page.
_session_test_set_not_started in modules/simpletest/tests/session_test.module
Menu callback, stores a value in $_SESSION['session_test_value'] without having started the session in advance.
_shortcut_link_form_elements in modules/shortcut/shortcut.admin.inc
Helper function for building a form for adding or editing shortcut links.
_simpletest_batch_finished in modules/simpletest/simpletest.module
_simpletest_batch_operation in modules/simpletest/simpletest.module
Batch operation callback.
_simpletest_example_explanation in examples/simpletest_example/simpletest_example.module
Returns an explanation of this module.
_simpletest_format_summary_line in modules/simpletest/simpletest.module
_system_modules_build_row in modules/system/system.admin.inc
Build a table row for the system modules page.
_system_test_first_shutdown_function in modules/simpletest/tests/system_test.module
Dummy shutdown function which registers another shutdown function.
_system_test_second_shutdown_function in modules/simpletest/tests/system_test.module
Dummy shutdown function.
_update_manager_check_backends in modules/update/update.manager.inc
Checks for file transfer backends and prepares a form fragment about them.
_update_message_text in modules/update/update.module
Helper function to return the appropriate message text when the site is out of date or missing a security update.
_update_no_data in modules/update/update.module
Prints a warning message when there is no data about available updates.
_update_requirement_check in modules/update/update.install
Private helper method to fill in the requirements array.
_user_cancel in modules/user/user.module
Last batch processing step for cancelling a user account.
_user_mail_text in modules/user/user.module
Returns a mail string for a variable name.
_vertical_tabs_example_explanation in examples/vertical_tabs_example/vertical_tabs_example.module
Simple explanation page.
_xmlrpc in includes/xmlrpc.inc
Performs one or more XML-RPC requests.
_xmlrpc_example_server_add in examples/xmlrpc_example/xmlrpc_example.module
This is the callback for the xmlrpc_example.add method.
_xmlrpc_example_server_subtract in examples/xmlrpc_example/xmlrpc_example.module
This is the callback for the xmlrpc_example.subtract xmlrpc method.

Code

includes/bootstrap.inc, line 1454

<?php
function t($string, array $args = array(), array $options = array()) {
  global $language;
  static $custom_strings;

  // Merge in default.
  if (empty($options['langcode'])) {
    $options['langcode'] = isset($language->language) ? $language->language : 'en';
  }
  if (empty($options['context'])) {
    $options['context'] = '';
  }

  // First, check for an array of customized strings. If present, use the array
  // *instead of* database lookups. This is a high performance way to provide a
  // handful of string replacements. See settings.php for examples.
  // Cache the $custom_strings variable to improve performance.
  if (!isset($custom_strings[$options['langcode']])) {
    $custom_strings[$options['langcode']] = variable_get('locale_custom_strings_' . $options['langcode'], array());
  }
  // Custom strings work for English too, even if locale module is disabled.
  if (isset($custom_strings[$options['langcode']][$options['context']][$string])) {
    $string = $custom_strings[$options['langcode']][$options['context']][$string];
  }
  // Translate with locale module if enabled.
  elseif ($options['langcode'] != 'en' && function_exists('locale')) {
    $string = locale($string, $options['context'], $options['langcode']);
  }
  if (empty($args)) {
    return $string;
  }
  else {
    // Transform arguments before inserting them.
    foreach ($args as $key => $value) {
      switch ($key[0]) {
        case '@':
          // Escaped only.
          $args[$key] = check_plain($value);
          break;

        case '%':
        default:
          // Escaped and placeholder.
          $args[$key] = drupal_placeholder($value);
          break;

        case '!':
          // Pass-through.
      }
    }
    return strtr($string, $args);
  }
}
?>