t

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 t($string, $args = array(), $langcode = NULL)

Translate strings to the page language or a given language.

Human-readable text that will be displayed somewhere within a page should be run through the t() function.

Examples:

<?php

  if (!$info || !$info['extension']) {
    form_set_error('picture_upload', t('The uploaded file was not an image.'));
  }

  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Log in'),
  );

?>

Any text within t() can be extracted by translators and changed into the equivalent text in their native language.

Special variables called "placeholders" are used to signal dynamic information in a string which should not be translated. Placeholders can also be used for text that may change from time to time (such as link paths) to be changed without requiring updates to translations.

For example:

<?php

  $output = t('There are currently %members and %visitors online.', array(
    '%members' => format_plural($total_users, '1 user', '@count users'),
    '%visitors' => format_plural($guests->count, '1 guest', '@count guests')));

?>

There are three styles of placeholders:

  • !variable, which indicates that the text should be inserted as-is. This is useful for inserting variables into things like e-mail.

<?php

    $message[] = t("If you don't want to receive such e-mails, you can change your settings at !url.", array('!url' => url("user/$account->uid", array('absolute' => TRUE))));
  
?>
  • @variable, which indicates that the text should be run through check_plain, to escape HTML characters. Use this for any output that's displayed within a Drupal page.

<?php

    drupal_set_title($title = t("@name's blog", array('@name' => $account->name)), PASS_THROUGH);
  
?>
  • %variable, which indicates that the string should be HTML escaped and highlighted with theme_placeholder() which shows up by default as <em>emphasized</em>.

<?php

    $message = t('%name-from sent %name-to an e-mail.', array('%name-from' => $user->name, '%name-to' => $account->name));
  
?>

When using t(), try to put entire sentences and strings in one t() call. This makes it easier for translators, as it provides context as to what each word refers to. HTML markup within translation strings is allowed, but should be avoided if possible. The exception are embedded links; link titles add a context for translators, so should be kept in the main string.

Here is an example of incorrect usage of t():

<?php

  $output .= t('<p>Go to the @contact-page.</p>', array('@contact-page' => l(t('contact page'), 'contact')));

?>

Here is an example of t() used correctly:

<?php

  $output .= '<p>' . t('Go to the <a href="@contact-page">contact page</a>.', array('@contact-page' => url('contact'))) . '</p>';

?>

Avoid escaping quotation marks wherever possible.

Incorrect:

<?php

  $output .= t('Don\'t click me.');

?>

Correct:

<?php

  $output .= t("Don't click me.");

?>

Because t() is designed for handling code-based strings, in almost all cases, the actual string and not a variable must be passed through t().

Extraction of translations is done based on the strings contained in t() calls. If a variable is passed through t(), the content of the variable cannot be extracted from the file for translation.

Incorrect:

<?php

  $message = 'An error occurred.';
  drupal_set_message(t($message), 'error');
  $output .= t($message);

?>

Correct:

<?php

  $message = t('An error occurred.');
  drupal_set_message($message, 'error');
  $output .= $message;

?>

The only case in which variables can be passed safely through t() is when code-based versions of the same strings will be passed through t() (or otherwise extracted) elsewhere.

In some cases, modules may include strings in code that can't use t() calls. For example, a module may use an external PHP application that produces strings that are loaded into variables in Drupal for output. In these cases, module authors may include a dummy file that passes the relevant strings through t(). This approach will allow the strings to be extracted.

Sample external (non-Drupal) code:

<?php

  class Time {
    public $yesterday = 'Yesterday';
    public $today = 'Today';
    public $tomorrow = 'Tomorrow';
  }

?>

Sample dummy file.

<?php

  // Dummy function included in example.potx.inc.
  function example_potx() {
    $strings = array(
      t('Yesterday'),
      t('Today'),
      t('Tomorrow'),
    );
    // No return value needed, since this is a dummy function.
  }

?>

Having passed strings through t() in a dummy function, it is then okay to pass variables through t().

Correct (if a dummy file was used):

<?php

  $time = new Time();
  $output .= t($time->today);

?>

However tempting it is, custom data from user input or other non-code sources should not be passed through t(). Doing so leads to the following problems and errors:

  • The t() system doesn't support updates to existing strings. When user data is updated, the next time it's passed through t() a new record is created instead of an update. The database bloats over time and any existing translations are orphaned with each update.
  • The t() system assumes any data it receives is in English. User data may be in another language, producing translation errors.
  • The "Built-in interface" text group in the locale system is used to produce translations for storage in .po files. When non-code strings are passed through t(), they are added to this text group, which is rendered inaccurate since it is a mix of actual interface strings and various user input strings of uncertain origin.

Incorrect:

<?php

  $item = item_load();
  $output .= check_plain(t($item['title']));

?>

Instead, translation of these data can be done through the locale system, either directly or through helper functions provided by contributed modules.

Übergabeparameter

$string A string containing the English string to translate.

$args An associative array of replacements to make after translation. Incidences of any key in this array are replaced with the corresponding value. Based on the first character of the key, the value is escaped and/or themed:

  • !variable: inserted as is
  • @variable: escape plain text to HTML (check_plain)
  • %variable: escape text and theme as a placeholder for user-submitted content (check_plain + theme_placeholder)

$langcode Optional language code to translate to a language other than what is used to display the page.

Rückgabewert

The translated string.

See also

hook_locale()

During installation, st() is used in place of t(). Code that may be called during installation or during normal operation should use the get_t() helper function.

st()

get_t()

▾ 1589 functions call t()

AccessDeniedTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
AccessDeniedTestCase::testAccessDenied in modules/system/system.test
ActionsConfigurationTestCase::getInfo in modules/simpletest/tests/actions.test
ActionsConfigurationTestCase::testActionConfiguration in modules/simpletest/tests/actions.test
Test the configuration of advanced actions through the administration interface.
actions_synchronize in includes/actions.inc
Synchronize actions that are provided by modules.
AddFeedTestCase::getInfo in modules/aggregator/aggregator.test
AddFeedTestCase::testAddFeed in modules/aggregator/aggregator.test
Create a feed, ensure that it is unique, check the source, and delete the feed.
AdminMetaTagTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
AdminMetaTagTestCase::testMetaTag in modules/system/system.test
Verify that the meta tag HTML is generated correctly.
AdminOverviewTestCase::checkOverview in modules/system/system.test
Check the overview page panels.
AdminOverviewTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
AdminOverviewTestCase::testAdminOverview in modules/system/system.test
Test the overview page by task.
AdminOverviewTestCase::testHideEmptyCategories in modules/system/system.test
Test administrative menu categories.
AggregatorTestCase::createFeed in modules/aggregator/aggregator.test
Create an aggregator feed (simulate form submission on admin/content/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/content/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
Implementation of hook_aggregator_fetch().
aggregator_aggregator_fetch_info in modules/aggregator/aggregator.fetcher.inc
Implementation of hook_aggregator_fetch_info().
aggregator_aggregator_parse in modules/aggregator/aggregator.parser.inc
Implementation of hook_aggregator_parse().
aggregator_aggregator_parse_info in modules/aggregator/aggregator.parser.inc
Implementation of hook_aggregator_parse_info().
aggregator_aggregator_process_info in modules/aggregator/aggregator.processor.inc
Implementation of hook_aggregator_process_info().
aggregator_aggregator_remove in modules/aggregator/aggregator.processor.inc
Implementation of hook_aggregator_remove().
aggregator_block_configure in modules/aggregator/aggregator.module
Implementation of hook_block_configure().
aggregator_block_list in modules/aggregator/aggregator.module
Implementation of hook_block_list().
aggregator_block_view in modules/aggregator/aggregator.module
Implementation of 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_categorize_items_validate in modules/aggregator/aggregator.pages.inc
Validate aggregator_categorize_items() form submissions.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/aggregator.processor.inc
Implementation of 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
Implementation of 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_perm in modules/aggregator/aggregator.module
Implementation of hook_perm().
aggregator_view in modules/aggregator/aggregator.admin.inc
Displays the aggregator administration page.
assertEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are equal.
assertFalse in modules/simpletest/drupal_web_test_case.php
Check to see if a value is false (an empty string, 0, NULL, or FALSE).
assertFieldById in modules/simpletest/drupal_web_test_case.php
Assert that a field exists in the current page with the given id and value.
assertFieldByName in modules/simpletest/drupal_web_test_case.php
Assert that a field exists in the current page with the given name and value.
assertIdentical in modules/simpletest/drupal_web_test_case.php
Check to see if two values are identical.
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.
assertMail in modules/simpletest/drupal_web_test_case.php
Assert that the most recently sent e-mail message has a field with the given value.
assertNoFieldById in modules/simpletest/drupal_web_test_case.php
Assert that a field does not exist with the given id and value.
assertNoFieldByName in modules/simpletest/drupal_web_test_case.php
Assert that a field does not exist with the given name and value.
assertNoLink in modules/simpletest/drupal_web_test_case.php
Pass if a link with the specified label is not found.
assertNoPattern in modules/simpletest/drupal_web_test_case.php
Will trigger a pass if the perl regex pattern is not present in raw content.
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.
assertNotEqual in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not equal.
assertNotIdentical in modules/simpletest/drupal_web_test_case.php
Check to see if two values are not identical.
assertNotNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is not NULL.
assertNull in modules/simpletest/drupal_web_test_case.php
Check to see if a value is NULL.
assertPattern in modules/simpletest/drupal_web_test_case.php
Will trigger a pass if the Perl regex pattern is found in the raw content.
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.
assertResponse in modules/simpletest/drupal_web_test_case.php
Assert the page responds with the specified response code.
assertTextHelper in modules/simpletest/drupal_web_test_case.php
Helper for assertText and assertNoText.
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).
BatchAPIPercentagesTestCase::getInfo in modules/simpletest/tests/batch.test
BatchAPIPercentagesTestCase::testBatchAPIPercentages in modules/simpletest/tests/batch.test
Test the _batch_api_percentage() function with the data stored in the testCases class variable.
BlockTestCase::getInfo in modules/block/block.test
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::testBox in modules/block/block.test
Test creating custom block (i.e. box), moving it to a specific region and then deleting it.
BlockTestCase::testBoxFormat in modules/block/block.test
Test creating custom block (i.e. box) using Full HTML.
block_add_block_form_submit in modules/block/block.admin.inc
Save the new custom block.
block_add_block_form_validate in modules/block/block.admin.inc
block_admin_configure in modules/block/block.admin.inc
Menu callback; displays the block configuration form.
block_admin_configure_submit in modules/block/block.admin.inc
block_admin_configure_validate in modules/block/block.admin.inc
block_admin_display_form in modules/block/block.admin.inc
Generate main blocks administration form.
block_admin_display_form_submit in modules/block/block.admin.inc
Process main blocks administration form submissions.
block_box_delete in modules/block/block.admin.inc
Menu callback; confirm deletion of custom blocks.
block_box_delete_submit in modules/block/block.admin.inc
Deletion of custom blocks.
block_box_form in modules/block/block.module
Define the custom block form.
block_form_system_performance_settings_alter in modules/block/block.module
Implementation of hook_form_FORM_ID_alter().
block_help in modules/block/block.module
Implementation of hook_help().
block_perm in modules/block/block.module
Implementation of hook_perm().
block_system_themes_form_submit in modules/block/block.module
Initialize blocks for enabled themes.
block_user_form in modules/block/block.module
Implementation of hook_user_form().
BlogAPITestCase::addTerm in modules/blogapi/blogapi.test
Add a taxonomy term to vocabulary.
BlogAPITestCase::addVocabulary in modules/blogapi/blogapi.test
Add taxonomy vocabulary.
BlogAPITestCase::getInfo in modules/blogapi/blogapi.test
BlogAPITestCase::testBlogAPI in modules/blogapi/blogapi.test
Create, edit, and delete post; upload file; set/get categories.
blogapi_admin_settings in modules/blogapi/blogapi.module
Add some settings to the admin_settings form.
blogapi_blogger_edit_post in modules/blogapi/blogapi.module
Blogging API callback. Modifies the specified blog node.
blogapi_blogger_new_post in modules/blogapi/blogapi.module
Blogging API callback. Inserts a new blog post as a node.
blogapi_help in modules/blogapi/blogapi.module
Implementation of hook_help().
blogapi_init in modules/blogapi/blogapi.module
Implementation of hook_init().
blogapi_metaweblog_new_media_object in modules/blogapi/blogapi.module
Blogging API callback. Inserts a file into Drupal.
blogapi_mt_publish_post in modules/blogapi/blogapi.module
Blogging API callback. Publishes the given node.
blogapi_mt_validate_terms in modules/blogapi/blogapi.module
Blogging API helper - find allowed taxonomy terms for a node type.
blogapi_perm in modules/blogapi/blogapi.module
Implementation of hook_perm().
blogapi_status_error_check in modules/blogapi/blogapi.module
Check that the user has permission to save the node with the chosen status.
blogapi_validate_user in modules/blogapi/blogapi.module
Ensure that the given user has permission to edit a blog.
blogapi_xmlrpc in modules/blogapi/blogapi.module
Implementation of hook_xmlrpc().
BlogTestCase::getInfo in modules/blog/blog.test
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_list in modules/blog/blog.module
Implementation of hook_block_list().
blog_block_view in modules/blog/blog.module
Implementation of hook_block_view().
blog_help in modules/blog/blog.module
Implementation of hook_help().
blog_node_info in modules/blog/blog.module
Implementation of hook_node_info().
blog_node_view in modules/blog/blog.module
Implementation of 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
Implementation of hook_user_view().
blog_view in modules/blog/blog.module
Implementation of hook_view().
BookBlockTestCase::getInfo in modules/book/book.test
BookBlockTestCase::testBookNavigationBlock in modules/book/book.test
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::getInfo in modules/book/book.test
BookTestCase::testBook in modules/book/book.test
Test book functionality through node interfaces.
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
Implementation of hook_block_configure().
book_block_list in modules/book/book.module
Implementation of hook_block_list().
book_block_view in modules/book/book.module
Implementation of hook_block_view().
book_export in modules/book/book.pages.inc
Menu callback; Generates various representation of a book page and its children.
book_form_alter in modules/book/book.module
Implementation of hook_form_alter().
book_form_node_delete_confirm_alter in modules/book/book.module
Form altering function for the confirm form for a single node deletion.
book_help in modules/book/book.module
Implementation of 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_perm in modules/book/book.module
Implementation of hook_perm().
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.
BootstrapIPAddressTestCase::getInfo in modules/simpletest/tests/bootstrap.test
BootstrapIPAddressTestCase::testIPAddressHost in modules/simpletest/tests/bootstrap.test
test IP Address and hostname
BootstrapPageCacheTestCase::getInfo in modules/simpletest/tests/bootstrap.test
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.
BootstrapVariableTestCase::getInfo in modules/simpletest/tests/bootstrap.test
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::getInfo in modules/simpletest/tests/cache.test
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.
CacheSavingCase::checkVariable in modules/simpletest/tests/cache.test
CacheSavingCase::getInfo in modules/simpletest/tests/cache.test
CacheSavingCase::testObject in modules/simpletest/tests/cache.test
Test the saving and restoring of an object.
CascadingStylesheetsTestCase::getInfo in modules/simpletest/tests/common.test
CascadingStylesheetsTestCase::testAddFile in modules/simpletest/tests/common.test
Tests adding a file stylesheet.
CascadingStylesheetsTestCase::testDefault in modules/simpletest/tests/common.test
Check default stylesheets as empty.
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::testReset in modules/simpletest/tests/common.test
Makes sure that reseting the CSS empties the cache.
CategorizeFeedItemTestCase::getInfo in modules/aggregator/aggregator.test
CategorizeFeedItemTestCase::testCategorizeFeedItem in modules/aggregator/aggregator.test
If a feed has a category, make sure that the children inherit that categorization.
checkPermissions in modules/simpletest/drupal_web_test_case.php
Check to make sure that the array of permissions are valid.
check_markup in modules/filter/filter.module
Run all the enabled filters on a piece of text.
clickLink in modules/simpletest/drupal_web_test_case.php
Follows a link by name.
color_form_system_theme_settings_alter in modules/color/color.module
Implementation of hook_form_FORM_ID_alter().
color_help in modules/color/color.module
Implementation of hook_help().
color_requirements in modules/color/color.install
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.
CommentAnonymous::getInfo in modules/comment/comment.test
CommentAnonymous::testAnonymous in modules/comment/comment.test
Test anonymous comment functionality.
CommentApprovalTest::getInfo in modules/comment/comment.test
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::getInfo in modules/comment/comment.test
CommentBlockFunctionalTest::testRecentCommentBlock in modules/comment/comment.test
Test the recent comments block.
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::setAnonymousUserComment in modules/comment/comment.test
Set anonymous comment setting.
CommentHelperCase::setCommentSettings in modules/comment/comment.test
Set comment setting for article content type.
CommentInterfaceTest::getInfo in modules/comment/comment.test
CommentInterfaceTest::testCommentInterface in modules/comment/comment.test
Test comment interface.
CommentRSSUnitTest::getInfo in modules/comment/comment.test
CommentRSSUnitTest::testCommentRSS in modules/comment/comment.test
Test comments as part of an RSS feed.
comment_action_info in modules/comment/comment.module
Implementation of hook_action_info().
comment_admin_overview in modules/comment/comment.admin.inc
Form builder; Builds the comment overview form for the admin.
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
Publish specified comment.
comment_block_configure in modules/comment/comment.module
Implementation of hook_block_configure().
comment_block_list in modules/comment/comment.module
Implementation of hook_block_list().
comment_block_view in modules/comment/comment.module
Implementation of 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_delete in modules/comment/comment.admin.inc
Menu callback; delete a comment.
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_add_preview in modules/comment/comment.module
Form builder; Generate and validate a comment preview form.
comment_form_alter in modules/comment/comment.module
Implementation of hook_form_alter().
comment_form_node_type_form_alter in modules/comment/comment.module
Implementation of hook_form_FORM_ID_alter().
comment_help in modules/comment/comment.module
Implementation of hook_help().
comment_hook_info in modules/comment/comment.module
Implementation of hook_hook_info().
comment_links in modules/comment/comment.module
Build command links for a comment (e.g.\ edit, reply, delete) with respect to the current user's access permissions.
comment_multiple_delete_confirm in modules/comment/comment.admin.inc
List the selected comments and verify that the admin wants to delete them.
comment_multiple_delete_confirm_submit in modules/comment/comment.admin.inc
Process comment_multiple_delete_confirm form submissions.
comment_node_view in modules/comment/comment.module
An implementation of hook_node_view().
comment_operations in modules/comment/comment.module
Comment operations. Offer different update operations depending on which comment administration page is being viewed.
comment_perm in modules/comment/comment.module
Implementation of hook_perm().
comment_ranking in modules/comment/comment.module
Implementation of hook_ranking().
comment_render in modules/comment/comment.module
Renders comment(s).
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_save in modules/comment/comment.module
Accepts a submission of new or changed comment content.
comment_unpublish_by_keyword_action_form in modules/comment/comment.module
Form builder; Prepare a form for blacklisted keywords.
comment_validate in modules/comment/comment.module
Validate comment data.
CommonLUnitTest::getInfo in modules/simpletest/tests/common.test
CommonLUnitTest::testLXSS in modules/simpletest/tests/common.test
Confirm that invalid text given as $path is filtered.
CommonSizeTestCase::getInfo in modules/simpletest/tests/common.test
confirm_form in modules/system/system.module
Output a confirmation form
ContactPersonalTestCase::getInfo in modules/contact/contact.test
ContactPersonalTestCase::testPersonalContact in modules/contact/contact.test
Test personal contact form.
ContactSitewideTestCase::addCategory in modules/contact/contact.test
Add a category.
ContactSitewideTestCase::deleteCategories in modules/contact/contact.test
Delete all categories.
ContactSitewideTestCase::getInfo in modules/contact/contact.test
ContactSitewideTestCase::setPermission in modules/contact/contact.test
Set permission.
ContactSitewideTestCase::submitContact in modules/contact/contact.test
Submit 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_admin_categories in modules/contact/contact.admin.inc
Categories/list tab.
contact_admin_delete in modules/contact/contact.admin.inc
Category delete page.
contact_admin_delete_submit in modules/contact/contact.admin.inc
Process category delete form submission.
contact_admin_edit in modules/contact/contact.admin.inc
Category edit page.
contact_admin_edit_submit in modules/contact/contact.admin.inc
Process the contact category edit page form submission.
contact_admin_edit_validate in modules/contact/contact.admin.inc
Validate the contact category edit page form submission.
contact_admin_settings in modules/contact/contact.admin.inc
contact_help in modules/contact/contact.module
Implementation of hook_help().
contact_mail in modules/contact/contact.module
Implementation of hook_mail().
contact_perm in modules/contact/contact.module
Implementation of hook_perm().
contact_personal_form in modules/contact/contact.pages.inc
contact_personal_form_submit in modules/contact/contact.pages.inc
Form submission handler for contact_personal_form().
contact_personal_page in modules/contact/contact.pages.inc
Personal contact page.
contact_site_form in modules/contact/contact.pages.inc
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().
contact_site_page in modules/contact/contact.pages.inc
Site-wide contact page.
contact_user_form in modules/contact/contact.module
Implementation of hook_user_form().
CronRunTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
CronRunTestCase::testCronRun in modules/system/system.test
Test cron runs.
CronRunTestCase::testTempFileCleanup in modules/system/system.test
Ensure that temporary files are removed.
curlExec in modules/simpletest/drupal_web_test_case.php
Performs a cURL exec with the specified options after calling curlConnect().
DatabaseAlter2TestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseAlter2TestCase::testAlterChangeFields in modules/simpletest/tests/database_test.test
Test that we can alter the fields of a query.
DatabaseAlter2TestCase::testAlterExpression in modules/simpletest/tests/database_test.test
Test that we can alter expressions in the query.
DatabaseAlter2TestCase::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::getInfo in modules/simpletest/tests/database_test.test
DatabaseAlterTestCase::testAlterChangeConditional in modules/simpletest/tests/database_test.test
Test that we can alter a query's conditionals.
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.
DatabaseAnsiSyntaxTestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseAnsiSyntaxTestCase::testBasicConcat in modules/simpletest/tests/database_test.test
Test for ANSI string concatenation.
DatabaseAnsiSyntaxTestCase::testFieldConcat in modules/simpletest/tests/database_test.test
Test for ANSI string concatenation with field values.
DatabaseAnsiSyntaxTestCase::testQuotes in modules/simpletest/tests/database_test.test
ANSI standard allows for double quotes to escape field names.
DatabaseConnectionTestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
DatabaseDeleteTruncateTestCase::testSimpleDelete in modules/simpletest/tests/database_test.test
Confirm that we can delete a single record successfully.
DatabaseDeleteTruncateTestCase::testTruncate in modules/simpletest/tests/database_test.test
Confirm that we can truncate a whole table successfully.
DatabaseFetch2TestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo 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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::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::getInfo in modules/simpletest/tests/database_test.test
DatabaseInvalidDataTestCase::testInsertDuplicateData in modules/simpletest/tests/database_test.test
Traditional SQL database systems abort inserts when invalid data is encountered.
DatabaseLoggingTestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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 exclusion.
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.
DatabaseQueryTestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
DatabaseRangeQueryTestCase::testRangeQuery in modules/simpletest/tests/database_test.test
Confirm that range query work and return correct result.
DatabaseRegressionTestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseRegressionTestCase::testDBColumnExists in modules/simpletest/tests/database_test.test
Test the db_column_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.
DatabaseSelectComplexTestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseSelectComplexTestCase::testCountQuery in modules/simpletest/tests/database_test.test
Test that we can generate a count query from a built query.
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::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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
DatabaseSelectPagerDefaultTestCase::testEvenPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectPagerDefaultTestCase::testOddPagerQuery in modules/simpletest/tests/database_test.test
Confirm that a pager query returns the correct results.
DatabaseSelectSubqueryTestCase::getInfo in modules/simpletest/tests/database_test.test
DatabaseSelectSubqueryTestCase::testFromSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a FROM clause.
DatabaseSelectSubqueryTestCase::testJoinSubquerySelect in modules/simpletest/tests/database_test.test
Test that we can use a subquery in a JOIN clause.
DatabaseSelectTableSortDefaultTestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::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.
DatabaseTaggingTestCase::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::getInfo in modules/simpletest/tests/database_test.test
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::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.
DateTimeFunctionalTest::getInfo in modules/system/system.test
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::getInfo in modules/dblog/dblog.test
DBLogTestCase::testDBLogAddAndClear in modules/dblog/dblog.test
Login an admin user, create dblog event, and test clearing dblog functionality through the admin interface.
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.admin.inc
Implementation of hook_form_FORM_ID_alter().
dblog_help in modules/dblog/dblog.module
Implementation of 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 dblog events of a specified type.
do_search in modules/search/search.module
Do a query on the full-text search index for a word or words.
drupalCreateContentType in modules/simpletest/drupal_web_test_case.php
Creates a custom content type based on default settings.
drupalCreateRole in modules/simpletest/drupal_web_test_case.php
Internal helper function; Create a role with specified permissions.
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.
DrupalDataApiTest::getInfo in modules/simpletest/tests/common.test
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::getInfo in modules/simpletest/tests/common.test
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::getInfo in modules/simpletest/tests/error.test
DrupalErrorHandlerUnitTest::testExceptionHandler in modules/simpletest/tests/error.test
Test the exception handler.
DrupalHTTPRequestTestCase::getInfo in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalGetDestination in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequest in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestBasicAuth in modules/simpletest/tests/common.test
DrupalHTTPRequestTestCase::testDrupalHTTPRequestRedirect in modules/simpletest/tests/common.test
drupalLogin in modules/simpletest/drupal_web_test_case.php
Log in a user with the internal browser.
drupalLogout in modules/simpletest/drupal_web_test_case.php
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.
DrupalRenderUnitTestCase::getInfo in modules/simpletest/tests/common.test
DrupalRenderUnitTestCase::testDrupalRenderSorting in modules/simpletest/tests/common.test
Test sorting by weight.
DrupalSetContentTestCase::getInfo in modules/simpletest/tests/common.test
DrupalSetContentTestCase::testRegions in modules/simpletest/tests/common.test
Test setting and retrieving content for theme regions.
DrupalTagsHandlingTestCase::assertTags in modules/simpletest/tests/common.test
Helper function: asserts that the ending array of tags is what we wanted.
DrupalTagsHandlingTestCase::getInfo in modules/simpletest/tests/common.test
drupal_access_denied in includes/common.inc
Generates a 403 error if the request is not allowed.
drupal_check_module in includes/install.inc
Check a module's requirements.
drupal_mail in includes/mail.inc
Compose and optionally send an e-mail message.
drupal_not_found in includes/common.inc
Generates a 404 error if the request can not be handled.
drupal_site_offline in includes/common.inc
Generates a site offline message.
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.
EnableDisableTestCase::getInfo in modules/system/system.test
EnableDisableTestCase::testEnableDisable in modules/system/system.test
Enable a module, check the database for related tables, disable module, check for related tables, uninstall module, check for related tables. Also check for invocation of the hook_module_action hook.
FieldAttachTestCase::getInfo in modules/field/field.test
FieldAttachTestCase::testFieldAttachCache in modules/field/field.test
Test field cache.
FieldAttachTestCase::testFieldAttachDelete in modules/field/field.test
FieldAttachTestCase::testFieldAttachLoadMultiple in modules/field/field.test
Test the 'multiple' load feature.
FieldAttachTestCase::testFieldAttachSaveLoad in modules/field/field.test
Check field values insert, update and load.
FieldAttachTestCase::testFieldAttachSaveMissingData in modules/field/field.test
Tests insert and update with missing or NULL fields.
FieldAttachTestCase::testFieldAttachSaveMissingDataDefaultValue in modules/field/field.test
Test insert with missing or NULL fields, with default value.
FieldFormTestCase::getInfo in modules/field/field.test
FieldFormTestCase::testFieldFormJSAddMore in modules/field/field.test
FieldFormTestCase::testFieldFormSingle in modules/field/field.test
FieldFormTestCase::testFieldFormSingleRequired in modules/field/field.test
FieldFormTestCase::testFieldFormUnlimited in modules/field/field.test
FieldFormTestCase::_fieldPostAhah in modules/field/field.test
Execute a POST request on a AHAH callback.
FieldInfoTestCase::getInfo in modules/field/field.test
FieldInfoTestCase::testFieldInfo in modules/field/field.test
FieldInstanceTestCase::getInfo in modules/field/field.test
FieldInstanceTestCase::testCreateFieldInstance in modules/field/field.test
FieldInstanceTestCase::testDeleteFieldInstance in modules/field/field.test
FieldInstanceTestCase::testUpdateFieldInstance in modules/field/field.test
FieldSqlStorageTestCase::getInfo in modules/field/modules/field_sql_storage/field_sql_storage.test
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.
FieldTestCase::getInfo in modules/field/field.test
FieldTestCase::testCreateField in modules/field/field.test
Test the creation of a field.
FieldTestCase::testDeleteField in modules/field/field.test
Test the deletion of a field.
FieldTestCase::testFieldIndexes in modules/field/field.test
Test creation of indexes on data column.
field_create_field in modules/field/field.crud.inc
Create a field.
field_default_form in modules/field/field.form.inc
Create a separate form element for each field.
field_default_view in modules/field/field.default.inc
The 'view' operation constructs the $object in a way that you can use drupal_render() to display the formatted output for an individual field. i.e. print drupal_render($object->content['field_foo']);
field_help in modules/field/field.module
Implementation of hook_help().
field_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.
field_sql_storage_help in modules/field/modules/field_sql_storage/field_sql_storage.module
Implementation of hook_help().
field_test_entity_add in modules/simpletest/tests/field_test.module
field_test_entity_edit in modules/simpletest/tests/field_test.module
field_test_entity_form in modules/simpletest/tests/field_test.module
Form to set the value of fields attached to our entity.
field_test_entity_form_submit in modules/simpletest/tests/field_test.module
Submit handler for field_test_set_field_values().
field_test_fieldable_info in modules/simpletest/tests/field_test.module
Define a test fieldable entity.
field_test_field_build_modes in modules/simpletest/tests/field_test.module
Implementation of hook_field_build_modes().
field_test_field_formatter_info in modules/simpletest/tests/field_test.module
Implementation of hook_field_formatter_info().
field_test_field_info in modules/simpletest/tests/field_test.module
Implementation of hook_field_info().
field_test_field_validate in modules/simpletest/tests/field_test.module
Implementation of hook_field_validate().
field_test_field_widget_info in modules/simpletest/tests/field_test.module
Implementation of hook_field_widget_info().
field_test_perm in modules/simpletest/tests/field_test.module
Implementation of hook_perm().
FileCopyTest::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
FileDeleteTest::testNormal in modules/simpletest/tests/file.test
Try deleting a normal file (as opposed to a directory, symlink, etc).
FileDirectoryTest::getInfo in modules/simpletest/tests/file.test
FileDirectoryTest::testFileCheckDirectory in modules/simpletest/tests/file.test
Test the file_directory_path() function.
FileDirectoryTest::testFileCheckLocation in modules/simpletest/tests/file.test
This tests that a file is actually in the specified directory, to prevent exploits.
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::testFileDirectoryPath in modules/simpletest/tests/file.test
Check file_directory_path() and file_directory_temp().
FileDirectoryTest::testFileDirectoryTemp in modules/simpletest/tests/file.test
Check file_directory_path() and file_directory_temp().
FileDownloadTest::getInfo in modules/simpletest/tests/file.test
FileDownloadTest::testPrivateFileTransfer in modules/simpletest/tests/file.test
Test the private file transfer system.
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::getInfo in modules/simpletest/tests/file.test
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 filepath.
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.
FileMoveTest::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
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.
FileSaveDataTest::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
FileSaveTest::testFileSave in modules/simpletest/tests/file.test
FileSaveUploadTest::getInfo in modules/simpletest/tests/file.test
FileSaveUploadTest::setUp in modules/simpletest/tests/file.test
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::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::getInfo in modules/simpletest/tests/file.test
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.
FileSpaceUsedTest::getInfo in modules/simpletest/tests/file.test
FileSpaceUsedTest::testStatus in modules/simpletest/tests/file.test
Test the status fields
FileSpaceUsedTest::testUser in modules/simpletest/tests/file.test
Test different users with the default status.
FileSpaceUsedTest::testUserAndStatus in modules/simpletest/tests/file.test
Test both the user and status.
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.
FileUnmanagedCopyTest::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
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::getInfo in modules/simpletest/tests/file.test
FileUnmanagedSaveDataTest::testFileSaveData in modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
FileValidateTest::getInfo in modules/simpletest/tests/file.test
FileValidateTest::testCallerValidation in modules/simpletest/tests/file.test
Test that the validators passed into are checked.
FileValidatorTest::getInfo in modules/simpletest/tests/file.test
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_check_directory in includes/file.inc
Check that the directory exists and is writable.
file_destination in includes/file.inc
Determines the destination path for a file depending on how replacement of existing files should be handled.
file_munge_filename in includes/file.inc
Munge the filename as needed for security purposes.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
file_test_menu in modules/simpletest/tests/file_test.module
Implementation of hook_menu().
file_unmanaged_copy in includes/file.inc
Copy a file to a new location without calling any hooks or making any changes to the database.
file_unmanaged_save_data in includes/file.inc
Save a string to the specified destination without calling any hooks or making any changes to the database.
file_validate_extensions in includes/file.inc
Check that the filename ends with an allowed extension.
file_validate_image_resolution in includes/file.inc
If the file is an image verify that its dimensions are within the specified maximum and minimum dimensions.
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::getInfo in modules/filter/filter.test
FilterAdminTestCase::testFilterAdmin in modules/filter/filter.test
Test filter administration functionality.
FilterTestCase::createFormat in modules/filter/filter.test
FilterTestCase::deleteFormat in modules/filter/filter.test
FilterTestCase::getInfo in modules/filter/filter.test
FilterTestCase::testLineBreakFilter in modules/filter/filter.test
Test the line break filter
filter_admin_configure in modules/filter/filter.admin.inc
Build a form to change the settings for a format's filters.
filter_admin_configure_page in modules/filter/filter.admin.inc
Menu callback; display settings defined by a format's filters.
filter_admin_delete in modules/filter/filter.admin.inc
Menu callback; confirm deletion of a format.
filter_admin_delete_submit in modules/filter/filter.admin.inc
Process filter delete 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_order in modules/filter/filter.admin.inc
Build the form for ordering filters for a format.
filter_admin_order_page in modules/filter/filter.admin.inc
Menu callback; display form for ordering filters for a format.
filter_admin_order_submit in modules/filter/filter.admin.inc
Process filter order configuration form submission.
filter_admin_overview in modules/filter/filter.admin.inc
Menu callback; Displays a list of all text formats and which one is the default.
filter_admin_overview_submit in modules/filter/filter.admin.inc
filter_filter in modules/filter/filter.module
Implementation of hook_filter(). Contains a basic set of essential filters.
filter_filter_tips in modules/filter/filter.module
Implementation of hook_filter_tips().
filter_form in modules/filter/filter.module
Generate a selector for choosing a format in a form.
filter_help in modules/filter/filter.module
Implementation of hook_help().
filter_perm in modules/filter/filter.module
Implementation of hook_perm().
FormAPITestCase::getInfo in modules/simpletest/tests/form.test
FormAPITestCase::testDrupalFormSubmitInBatch in modules/simpletest/tests/form.test
Check that we can run drupal_form_submit during a batch.
format_date in includes/common.inc
Format a date with the given configured format or a custom format string.
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.
FormsElementsTableSelectFunctionalTest::formSubmitHelper in modules/simpletest/tests/form.test
Helper function for the option check test to submit a form while collecting errors.
FormsElementsTableSelectFunctionalTest::getInfo in modules/simpletest/tests/form.test
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.
FormsFormCleanIdFunctionalTest::getInfo in modules/simpletest/tests/form.test
FormsFormStorageTestCase::getInfo in modules/simpletest/tests/form.test
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 #cache property.
FormsFormStorageTestCase::testValidation in modules/simpletest/tests/form.test
Tests validation when form storage is used.
FormsTestCase::getInfo in modules/simpletest/tests/form.test
FormsTestCase::testRequiredFields in modules/simpletest/tests/form.test
Check several empty values for required forms elements.
FormsTestTypeCase::getInfo in modules/simpletest/tests/form.test
FormsTestTypeCase::testFormCheckboxValue in modules/simpletest/tests/form.test
Test form_type_checkbox_value() function for expected behavior.
form_process_password_confirm in includes/form.inc
Expand a password_confirm field into two text boxes.
form_test_drupal_form_submit_batch_api in modules/simpletest/tests/form_test.module
Page callback for the batch/drupal_form_submit interaction test.
form_test_mock_form in modules/simpletest/tests/form_test.module
A simple form with a textfield and submit button.
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::getInfo in modules/forum/forum.test
ForumTestCase::verifyForums in modules/forum/forum.test
Verify the logged in user has the desired access to the various forum nodes.
ForumTestCase::verifyForumView in modules/forum/forum.test
Verify display of forum page.
forum_admin_settings in modules/forum/forum.admin.inc
Form builder for the forum settings page.
forum_block_configure in modules/forum/forum.module
Implementation of hook_block_configure().
forum_block_list in modules/forum/forum.module
Implementation of hook_block_list().
forum_block_view in modules/forum/forum.module
Implementation of hook_block_view().
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
Implementation of forms api _submit call. Deletes a forum after confirmation.
forum_enable in modules/forum/forum.install
forum_form in modules/forum/forum.module
Implementation of hook_form().
forum_form_alter in modules/forum/forum.module
Implementation of 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
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
Implementation of hook_help().
forum_node_info in modules/forum/forum.module
Implementation of hook_node_info().
forum_node_validate in modules/forum/forum.module
Implementation of hook_node_validate().
forum_node_view in modules/forum/forum.module
Implementation of hook_node_view().
forum_overview in modules/forum/forum.admin.inc
Returns an overview list of existing forums and containers
forum_perm in modules/forum/forum.module
Implementation of hook_perm().
forum_update_6000 in modules/forum/forum.install
Create the forum vocabulary if does not exist. Assign the vocabulary a low weight so it will appear first in forum topic create and edit forms. Do not just call forum_enable() because in future versions it might do something different.
FrontPageTestCase::getInfo in modules/system/system.test
FrontPageTestCase::testDrupalIsFrontPage in modules/system/system.test
Test front page functionality.
garland_comment_wrapper in themes/garland/template.php
Allow themable wrapping of all comments.
garland_node_submitted in themes/garland/template.php
Format the "Submitted by username on date/time" for each node.
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::getInfo in modules/simpletest/tests/graph.test
GraphUnitTest::testDepthFirstSearch in modules/simpletest/tests/graph.test
Test depth-first-search features.
HelpTestCase::getInfo in modules/help/help.test
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
Implementation of 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::getInfo in modules/simpletest/tests/bootstrap.test
HookBootExitTestCase::testHookBootExit in modules/simpletest/tests/bootstrap.test
Test calling of hook_boot() and hook_exit().
hook_action_info in modules/trigger/trigger.api.php
Declare information about one or more Drupal actions.
hook_action_info_alter in modules/trigger/trigger.api.php
Alter 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
Configuration form for the block.
hook_block_list in modules/block/block.api.php
List of all blocks defined by the module.
hook_block_view in modules/block/block.api.php
Process the block when enabled in a region in order to view its contents.
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_comment_validate in modules/comment/comment.api.php
The user has just finished editing the comment and is trying to preview or submit it. This hook can be used to check or even modify the comment. Errors should be set with form_set_error().
hook_fieldable_info in modules/field/field.api.php
Inform the Field API about one or more fieldable types.
hook_field_info in modules/field/field.api.php
Define Field API field types.
hook_field_validate in modules/field/field.api.php
Define custom validate behavior for this module's field types.
hook_file_validate in modules/system/system.api.php
Check that files meet a given criteria.
hook_filter in modules/filter/filter.api.php
Define content filters.
hook_filter_tips in modules/filter/filter.api.php
Provide tips for using 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_FORM_ID_alter in modules/system/system.api.php
Provide a form-specific alteration instead of the global hook_form_alter().
hook_help in modules/help/help.api.php
Provide online user help.
hook_hook_info in modules/trigger/trigger.api.php
Expose a list of triggers (events) that your module is allowing users to assign actions to.
hook_image_toolkits in modules/system/system.api.php
Define image toolkits provided by this module.
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 any aspect of the emails sent by Drupal. You can use this hook to add a common site footer to all outgoing emails; add extra header fields and/or modify the mails sent out in any way. HTML-izing the outgoing mails is one possibility. See also…
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
The user has finished editing the node and is previewing or submitting it.
hook_page_alter in modules/system/system.api.php
Perform alterations before a page is rendered.
hook_perm in modules/system/system.api.php
Define user permissions.
hook_prepare in modules/node/node.api.php
This is a hook used by node modules. It is called after load but before the node is shown on the add/edit form.
hook_requirements in modules/system/system.api.php
Check installation requirements and do status reporting.
hook_search in modules/search/search.api.php
Define a custom search routine.
hook_update_status_alter in modules/update/update.api.php
Alter the information about available updates for projects.
hook_user in modules/user/user.api.php
Act on user account actions.
hook_user_cancel_methods_alter in modules/user/user.api.php
Modify account cancellation methods.
hook_user_operations in modules/user/user.api.php
Add mass user operations.
hook_validate in modules/node/node.api.php
Verify a node editing form.
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.
ImageToolkitGdTestCase::getInfo in modules/simpletest/tests/image.test
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.
ImageToolkitTestCase::getInfo in modules/simpletest/tests/image.test
ImageToolkitTestCase::testCrop in modules/simpletest/tests/image.test
Test the image_crop() function.
ImageToolkitTestCase::testDesaturate in modules/simpletest/tests/image.test
Test the image_desaturate() function.
ImageToolkitTestCase::testGetAvailableToolkits in modules/simpletest/tests/image.test
Check that hook_image_toolkits() is called and only available toolkits are returned.
ImageToolkitTestCase::testLoad in modules/simpletest/tests/image.test
Test the image_load() function.
ImageToolkitTestCase::testResize in modules/simpletest/tests/image.test
Test the image_resize() function.
ImageToolkitTestCase::testRotate in modules/simpletest/tests/image.test
Test the image_rotate() function.
ImageToolkitTestCase::testSave in modules/simpletest/tests/image.test
Test the image_save() function.
ImageToolkitTestCase::testScale in modules/simpletest/tests/image.test
Test the image_scale() function.
ImageToolkitTestCase::testScaleAndCrop in modules/simpletest/tests/image.test
Test the image_scale_and_crop() function.
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_test_image_toolkits in modules/simpletest/tests/image_test.module
Implementation of hook_image_toolkits().
ImportOPMLTestCase::getInfo in modules/aggregator/aggregator.test
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.
install_configure_form in ./install.php
Form API array definition for site configuration.
IPAddressBlockingTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
IPAddressBlockingTestCase::testIPAddressValidation in modules/system/system.test
Test a variety of user input to confirm correct validation and saving of data.
JavaScriptTestCase::getInfo in modules/simpletest/tests/common.test
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::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::testDefault in modules/simpletest/tests/common.test
Test default JavaScript is empty.
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::testHeaderSetting in modules/simpletest/tests/common.test
Test drupal_get_js() for JavaScript settings.
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::testReset in modules/simpletest/tests/common.test
Test to see if resetting the JavaScript empties the cache.
LanguageSwitchingFunctionalTest::getInfo in modules/locale/locale.test
LanguageSwitchingFunctionalTest::testLanguageBlock in modules/locale/locale.test
Functional tests for the language switcher block.
list_field_formatter_info in modules/field/modules/list/list.module
Implementation of hook_field_formatter_info().
list_field_info in modules/field/modules/list/list.module
Implementation of hook_field_info().
list_field_validate in modules/field/modules/list/list.module
Implementation of hook_field_validate().
LocaleConfigurationTest::getInfo in modules/locale/locale.test
LocaleConfigurationTest::testLanguageConfiguration in modules/locale/locale.test
Functional tests for adding, editing and deleting languages.
LocaleContentFunctionalTest::getInfo in modules/locale/locale.test
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.
LocaleExportFunctionalTest::getInfo in modules/locale/locale.test
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::getInfo in modules/locale/locale.test
LocaleImportFunctionalTest::testAutomaticModuleTranslationImportLanguageEnable in modules/locale/locale.test
Test automatic importation of a module's translation files when a language is enabled.
LocaleImportFunctionalTest::testStandalonePoFile in modules/locale/locale.test
Test importation of standalone .po files.
LocalePathFunctionalTest::getInfo in modules/locale/locale.test
LocalePathFunctionalTest::testPathLanguageConfiguration in modules/locale/locale.test
Test if a language can be associated with a path alias.
LocaleTranslationFunctionalTest::getInfo 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.
LocaleUninstallFrenchFunctionalTest::getInfo in modules/locale/locale.test
LocaleUninstallFunctionalTest::getInfo in modules/locale/locale.test
LocaleUninstallFunctionalTest::testUninstallProcess in modules/locale/locale.test
Check if the values of the Locale variables are correct after uninstall.
LocaleUserLanguageFunctionalTest::getInfo in modules/locale/locale.test
LocaleUserLanguageFunctionalTest::testUserLanguageConfiguration in modules/locale/locale.test
Test if user can change their default language.
locale_block_list in modules/locale/locale.module
Implementation of hook_block_list().
locale_block_view in modules/locale/locale.module
Implementation of hook_block_view().
locale_form_alter in modules/locale/locale.module
Implementation of hook_form_alter(). Adds language fields to forms.
locale_form_node_type_form_alter in modules/locale/locale.module
Implementation of hook_form_FORM_ID_alter().
locale_form_path_admin_form_alter in modules/locale/locale.module
Implementation of hook_form_FORM_ID_alter().
locale_help in modules/locale/locale.module
Implementation of hook_help().
locale_languages_configure_form in includes/locale.inc
Setting for language negotiation options
locale_languages_configure_form_submit in includes/locale.inc
Submit function for language negotiation settings.
locale_languages_custom_form in includes/locale.inc
Custom language addition form.
locale_languages_delete_form in includes/locale.inc
User interface for the language deletion confirmation screen.
locale_languages_delete_form_submit in includes/locale.inc
Process language deletion submissions.
locale_languages_edit_form in includes/locale.inc
Editing screen for a particular language.
locale_languages_edit_form_validate in includes/locale.inc
Validate the language editing form. Reused for custom language addition too.
locale_languages_overview_form in includes/locale.inc
User interface for the language overview screen.
locale_languages_overview_form_submit in includes/locale.inc
Process language overview form submissions, updating existing languages.
locale_languages_predefined_form in includes/locale.inc
Predefined language setup form.
locale_languages_predefined_form_submit in includes/locale.inc
Process the language addition form submission.
locale_languages_predefined_form_validate in includes/locale.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_selector_form in modules/locale/locale.module
locale_locale in modules/locale/locale.module
Implementation of hook_locale().
locale_perm in modules/locale/locale.module
Implementation of hook_perm().
locale_test_locale in modules/locale/tests/locale_test.module
Implementation of hook_locale().
locale_translate_delete_form in includes/locale.inc
User interface for the string deletion confirmation screen.
locale_translate_delete_form_submit in includes/locale.inc
Process string deletion submissions.
locale_translate_edit_form in includes/locale.inc
User interface for string editing.
locale_translate_edit_form_submit in includes/locale.inc
Process string editing form submissions.
locale_translate_edit_form_validate in includes/locale.inc
Validate string editing form submissions.
locale_translate_export_pot_form in includes/locale.inc
Translation template export form.
locale_translate_export_po_form in includes/locale.inc
Form to export PO files for the languages provided.
locale_translate_import_form in includes/locale.inc
User interface for the translation import screen.
locale_translate_import_form_submit in includes/locale.inc
Process the locale import form submission.
locale_translate_overview_screen in includes/locale.inc
Overview screen for translations.
locale_translation_filters in includes/locale.inc
List locale translation filters that can be applied.
locale_translation_filter_form in includes/locale.inc
Return form for locale translation filters.
locale_translation_filter_form_submit in includes/locale.inc
Process result from locale translation filter form.
locale_translation_filter_form_validate in includes/locale.inc
Validate result from locale translation filter form.
map_month in includes/form.inc
Helper function for usage with drupal_map_assoc to display month names.
MenuIncTestCase::getInfo in modules/simpletest/tests/menu.test
MenuIncTestCase::testMenuHiearchy in modules/simpletest/tests/menu.test
Tests for menu hiearchy.
MenuIncTestCase::testMenuLinkMaintain in modules/simpletest/tests/menu.test
Tests for menu_link_maintain().
MenuIncTestCase::testMenuName in modules/simpletest/tests/menu.test
Tests for menu_name parameter for hook_menu().
MenuIncTestCase::testMenuSetItem in modules/simpletest/tests/menu.test
Test menu_set_item().
MenuIncTestCase::testTitleCallbackFalse in modules/simpletest/tests/menu.test
Test title callback set to FALSE.
MenuRebuildTestCase::getInfo in modules/simpletest/tests/menu.test
MenuRebuildTestCase::testMenuRebuildByVariable in modules/simpletest/tests/menu.test
Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
MenuTestCase::addCustomMenu in modules/menu/menu.test
Add custom menu.
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::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::getInfo in modules/menu/menu.test
MenuTestCase::modifyMenuLink in modules/menu/menu.test
Modify 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::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.
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_validate in modules/menu/menu.admin.inc
Validates the human and machine-readable names when adding or editing a menu.
menu_form_alter in modules/menu/menu.module
Implementation of hook_form_alter(). Adds menu item fields to the node form.
menu_help in modules/menu/menu.module
Implementation of 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_insert in modules/menu/menu.module
Implementation of hook_node_insert().
menu_node_update in modules/menu/menu.module
Implementation of hook_node_update().
menu_overview_form in modules/menu/menu.admin.inc
Form for editing an entire menu tree at once.
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_perm in modules/menu/menu.module
Implementation of hook_perm().
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
Set (or get) the active trail for the current page - the path to root in the menu tree.
ModuleDependencyTestCase::getInfo in modules/system/system.test
ModuleDependencyTestCase::testEnableWithoutDependency in modules/system/system.test
Attempt to enable translation module without locale enabled.
ModuleRequiredTestCase::getInfo in modules/system/system.test
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::assertTableCount in modules/system/system.test
Assert there are tables that begin with the specified base table name.
ModuleUnitTest::assertModuleList in modules/simpletest/tests/module.test
Assert that module_list() return the expected values.
ModuleUnitTest::getInfo in modules/simpletest/tests/module.test
ModuleUnitTest::testModuleList in modules/simpletest/tests/module.test
The basic functionality of module_list().
NodeAccessRecordsAlterUnitTest::getInfo in modules/node/node.test
NodeAccessRecordsAlterUnitTest::testGrantAlter in modules/node/node.test
Create a node and test the creation of node access rules.
NodeBlockTestCase::getInfo in modules/node/node.test
NodeBlockTestCase::testSearchFormBlock in modules/node/node.test
NodeLoadMultipleUnitTest::getInfo in modules/node/node.test
NodeLoadMultipleUnitTest::testNodeMultipleLoad in modules/node/node.test
Create four nodes and ensure they're loaded correctly.
NodePostSettingsTestCase::getInfo in modules/node/node.test
NodePostSettingsTestCase::testPageNotPostInfo in modules/node/node.test
Set page content type to not display post information and confirm its absence on a new node.
NodePostSettingsTestCase::testPagePostInfo in modules/node/node.test
Set page content type to display post information and confirm its presence on a new node.
NodeRevisionsTestCase::getInfo in modules/node/node.test
NodeRevisionsTestCase::testRevisions in modules/node/node.test
Check node revision related operations.
NodeRSSContentTestCase::getInfo in modules/node/node.test
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::getInfo in modules/node/node.test
NodeSaveTestCase::testImport in modules/node/node.test
Import test, to check if custom node ids are saved properly. Workflow:
NodeTeaserTestCase::callNodeTeaser in modules/node/node.test
Calls node_teaser() and asserts that the expected teaser is returned.
NodeTeaserTestCase::getInfo in modules/node/node.test
NodeTitleXSSTestCase::getInfo in modules/node/node.test
NodeTitleXSSTestCase::testNodeTitleXSS in modules/node/node.test
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_action_info in modules/node/node.module
Implementation of hook_action_info().
node_add in modules/node/node.pages.inc
Present a node submission form or a set of links to such forms.
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
node_assign_owner_action_validate in modules/node/node.module
node_block_list in modules/node/node.module
Implementation of hook_block_list().
node_block_view in modules/node/node.module
Implementation of hook_block_view().
node_body_field in modules/node/node.pages.inc
Return a node body field, with format and teaser.
node_configure in modules/node/node.admin.inc
Menu callback; presents general node configuration options.
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_fieldable_info in modules/node/node.module
Implementation of hook_fieldable_info().
node_field_build_modes in modules/node/node.module
Implementation of hook_field_build_modes().
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_search_form_alter in modules/node/node.module
Implementation of hook_form_FORM_ID_alter().
node_form_submit in modules/node/node.pages.inc
node_help in modules/node/node.module
Implementation of hook_help().
node_hook_info in modules/node/node.module
Implementation of hook_hook_info().
node_link in modules/node/node.module
Implementation of hook_link().
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_multiple_delete_confirm_submit in modules/node/node.admin.inc
node_node_operations in modules/node/node.admin.inc
Implementation of 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, or redirects to delete confirmation.
node_perm in modules/node/node.module
Implementation of hook_perm().
node_preview in modules/node/node.pages.inc
Generate a node preview.
node_ranking in modules/node/node.module
Implementation of hook_ranking().
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 in modules/node/node.module
Implementation of hook_search().
node_show in modules/node/node.module
Generate an array which displays a node detail page.
node_teaser_include_verify in modules/node/node.module
Ensure value of "teaser_include" checkbox is consistent with other form data.
node_test_node_view in modules/node/tests/node_test.module
Implementation of hook_node_view().
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
Generates the node type editing form.
node_type_form_submit in modules/node/content_types.inc
Implementation of hook_form_submit().
node_type_form_validate in modules/node/content_types.inc
Implementation of hook_form_validate().
node_type_set_defaults in modules/node/node.module
Set the default values for a node type.
node_unpublish_by_keyword_action_form in modules/node/node.module
node_validate in modules/node/node.module
Perform validation checks on the given node.
NonDefaultBlockAdmin::getInfo in modules/block/block.test
NonDefaultBlockAdmin::testNonDefaultBlockAdmin in modules/block/block.test
Test non-default theme admin.
number_decimal_validate in modules/field/modules/number/number.module
FAPI validation of an individual decimal element.
number_field_formatter_info in modules/field/modules/number/number.module
Implementation of hook_field_formatter_info().
number_field_info in modules/field/modules/number/number.module
Implementation of hook_field_info().
number_field_validate in modules/field/modules/number/number.module
Implementation of hook_field_validate().
number_field_widget_info in modules/field/modules/number/number.module
Implementation of hook_field_widget_info().
number_float_validate in modules/field/modules/number/number.module
FAPI validation of an individual float element.
number_integer_validate in modules/field/modules/number/number.module
FAPI validation of an individual integer element.
OpenIDFunctionalTest::addIdentity in modules/openid/openid.test
Add OpenID identity to user's profile.
OpenIDFunctionalTest::getInfo in modules/openid/openid.test
OpenIDFunctionalTest::testDelete in modules/openid/openid.test
Test deleting an OpenID identity from a user's profile.
OpenIDFunctionalTest::testLogin in modules/openid/openid.test
Test login using OpenID.
OpenIDFunctionalTest::testRegisterUserWithoutEmailVerification in modules/openid/openid.test
Test openID auto-registration with e-mail verification disabled.
OpenIDUnitTest::getInfo in modules/openid/openid.test
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::testOpenidSignature in modules/openid/openid.test
Test _openid_signature().
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_help in modules/openid/openid.module
Implementation of 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_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
Implementation of hook_user_insert().
options_field_widget_info in modules/field/modules/options/options.module
Implementation of hook_field_widget_info().
options_validate in modules/field/modules/options/options.module
FAPI function to validate options element.
PageCreationTestCase::getInfo in modules/node/node.test
PageCreationTestCase::testPageCreation in modules/node/node.test
Create a page node and verify its consistency in the database.
PageEditTestCase::getInfo in modules/node/node.test
PageEditTestCase::testPageEdit in modules/node/node.test
Check node edit functionality.
PageNotFoundTestCase::getInfo in modules/system/system.test
Implementation of getInfo().
PageNotFoundTestCase::testPageNotFound in modules/system/system.test
PagePreviewTestCase::getInfo in modules/node/node.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.
PageTitleFiltering::getInfo in modules/system/system.test
Implementation of getInfo().
PageTitleFiltering::testTitleTags in modules/system/system.test
Tests the handling of HTML by drupal_set_title() and drupal_get_title()
PageViewTestCase::getInfo in modules/node/node.test
PageViewTestCase::testPageView in modules/node/node.test
Creates a node and then an anonymous and unpermissioned user attempt to edit the node.
parse in modules/simpletest/drupal_web_test_case.php
Parse content returned from curlExec using DOM and SimpleXML.
password_confirm_validate in includes/form.inc
Validate password_confirm element.
PathLanguageTestCase::getInfo in modules/path/path.test
PathLanguageTestCase::setUp in modules/path/path.test
Create user, setup permissions, log user in, and create a node.
PathLanguageTestCase::testAliasTranslation in modules/path/path.test
Test alias functionality through the admin interfaces.
PathTestCase::getInfo in modules/path/path.test
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 in modules/path/path.module
Post-confirmation; delete an URL alias.
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 new URL alias to the database.
path_admin_form_validate in modules/path/path.admin.inc
Verify that a new URL alias is valid
path_admin_overview in modules/path/path.admin.inc
Return a listing of all defined URL aliases. When filter key passed, perform a standard search on the given key, and return the list of matching URL aliases.
path_form_alter in modules/path/path.module
Implementation of hook_form_alter().
path_help in modules/path/path.module
Implementation of hook_help().
path_node_validate in modules/path/path.module
Implementation of hook_node_validate().
path_perm in modules/path/path.module
Implementation of hook_perm().
PHPAccessTestCase::getInfo in modules/php/php.test
PHPAccessTestCase::testNoPrivileges in modules/php/php.test
Make sure that user can't use the PHP filter when not given access.
PHPFilterTestCase::getInfo in modules/php/php.test
PHPFilterTestCase::testPHPFilter in modules/php/php.test
Make sure that the PHP filter evaluates PHP code when used.
phptemplate_comment_submitted in themes/garland/template.php
Format the "Submitted by username on date/time" for each comment.
PHPTestCase::setUp in modules/php/php.test
php_disable in modules/php/php.install
Implementation of hook_disable().
php_filter in modules/php/php.module
Implementation of hook_filter(). Contains a basic PHP evaluator.
php_filter_tips in modules/php/php.module
Implementation of hook_filter_tips().
php_help in modules/php/php.module
Implementation of hook_help().
php_install in modules/php/php.install
Implementation of hook_install().
php_perm in modules/php/php.module
Implementation of hook_perm().
PollBlockTestCase::getInfo in modules/poll/poll.test
PollBlockTestCase::testRecentBlock in modules/poll/poll.test
PollCreateTestCase::getInfo in modules/poll/poll.test
PollJSAddChoice::getInfo in modules/poll/poll.test
PollJSAddChoice::testAddChoice in modules/poll/poll.test
Test adding a new choice.
PollTestCase::pollCreate in modules/poll/poll.test
Creates a poll.
PollVoteTestCase::getInfo in modules/poll/poll.test
PollVoteTestCase::testPollVote in modules/poll/poll.test
poll_block_list in modules/poll/poll.module
Implementation of hook_block_list().
poll_block_view in modules/poll/poll.module
Implementation of hook_block_view().
poll_cancel_form in modules/poll/poll.module
Builds the cancel form for a poll.
poll_form in modules/poll/poll.module
Implementation of hook_form().
poll_help in modules/poll/poll.module
Implementation of hook_help().
poll_node_info in modules/poll/poll.module
Implementation of hook_node_info().
poll_page in modules/poll/poll.pages.inc
Menu callback to provide a simple list of all polls available.
poll_perm in modules/poll/poll.module
Implementation of hook_perm().
poll_validate in modules/poll/poll.module
Implementation of hook_validate().
poll_view in modules/poll/poll.module
Implementation of hook_view().
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::getInfo in modules/profile/profile.test
ProfileBlockTestCase::testAuthorInformationBlock in modules/profile/profile.test
ProfileTestAutocomplete::getInfo 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
ProfileTestDate::getInfo in modules/profile/profile.test
ProfileTestDate::testProfileDateField in modules/profile/profile.test
Create a date field, give it a value, and delete the field.
ProfileTestFields::getInfo in modules/profile/profile.test
ProfileTestSelect::getInfo in modules/profile/profile.test
ProfileTestWeights::getInfo in modules/profile/profile.test
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
Implementation of hook_block_configure().
profile_block_list in modules/profile/profile.module
Implementation of hook_block_list().
profile_block_view in modules/profile/profile.module
Implementation of 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
Implementation of hook_help().
profile_validate_profile in modules/profile/profile.module
QueueTestCase::getInfo in modules/system/system.test
QueueTestCase::testQueue in modules/system/system.test
Queues and dequeues a set of items to check the basic queue functionality.
RegistryParseFilesTestCase::getInfo in modules/simpletest/tests/registry.test
RegistryParseFilesTestCase::testRegistryParseFiles in modules/simpletest/tests/registry.test
testRegistryParseFiles
RegistryParseFileTestCase::getInfo in modules/simpletest/tests/registry.test
RegistryParseFileTestCase::testRegistryParseFile in modules/simpletest/tests/registry.test
testRegistryParseFile
RegistrySkipBodyTestCase::getInfo in modules/simpletest/tests/registry.test
RegistrySkipBodyTestCase::testRegistrySkipBody in modules/simpletest/tests/registry.test
RemoveFeedItemTestCase::getInfo in modules/aggregator/aggregator.test
RemoveFeedTestCase::getInfo in modules/aggregator/aggregator.test
RemoveFeedTestCase::testRemoveFeed in modules/aggregator/aggregator.test
Remove a feed and ensure that all it services are removed.
SchemaTestCase::checkSchemaComment in modules/simpletest/tests/schema.test
Checks that a table or column comment matches a given description.
SchemaTestCase::getInfo in modules/simpletest/tests/schema.test
SchemaTestCase::testSchema in modules/simpletest/tests/schema.test
SearchAdvancedSearchForm::getInfo in modules/search/search.test
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 pages.
SearchBikeShed::getInfo in modules/search/search.test
SearchBikeShed::testFailedSearch in modules/search/search.test
SearchBlockTestCase::getInfo in modules/search/search.test
SearchBlockTestCase::testBlock in modules/search/search.test
Test that the search block form works correctly.
SearchBlockTestCase::testSearchFormBlock in modules/search/search.test
SearchCommentTestCase::getInfo in modules/search/search.test
SearchCommentTestCase::testSearchResultsComment in modules/search/search.test
Verify that comments are rendered using proper format in search results.
SearchMatchTestCase::getInfo in modules/search/search.test
SearchRankingTestCase::getInfo in modules/search/search.test
SearchRankingTestCase::testRankings in modules/search/search.test
search_admin_settings in modules/search/search.admin.inc
Menu callback; displays the search module settings page.
search_admin_settings_validate in modules/search/search.admin.inc
Validate callback.
search_block_list in modules/search/search.module
Implementation of hook_block_list().
search_block_view in modules/search/search.module
Implementation of hook_block_view().
search_box in modules/search/search.module
Form builder; Output a search form for the search block and the theme's search box.
search_form in modules/search/search.module
Render a search form.
search_form_submit in modules/search/search.pages.inc
Process a search form submission.
search_help in modules/search/search.module
Implementation of hook_help().
search_perm in modules/search/search.module
Implementation of hook_perm().
search_view in modules/search/search.pages.inc
Menu callback; presents the search form and/or search results.
search_wipe_confirm in modules/search/search.admin.inc
Menu callback: confirm wiping of the index.
search_wipe_confirm_submit in modules/search/search.admin.inc
Handler for wipe confirmation
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::assertSessionStarted in modules/simpletest/tests/session.test
Assert whether session was started during the bootstrap process.
SessionTestCase::getInfo in modules/simpletest/tests/session.test
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::testSessionSaveRegenerate in modules/simpletest/tests/session.test
Tests for drupal_save_session() and drupal_session_regenerate().
session_test_menu in modules/simpletest/tests/session_test.module
Implementation of hook_menu().
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::getInfo in modules/simpletest/simpletest.test
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::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::getInfo in modules/simpletest/simpletest.test
Implementation of getInfo().
SimpleTestMailCaptureTestCase::testMailSend in modules/simpletest/simpletest.test
Test to see if the wrapper function is executed correctly.
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 left over temporary directories and remove them.
simpletest_help in modules/simpletest/simpletest.module
Implementation of hook_help().
simpletest_perm in modules/simpletest/simpletest.module
Implementation of hook_perm().
simpletest_requirements in modules/simpletest/simpletest.install
Check that the cURL extension exists for PHP.
simpletest_result_form in modules/simpletest/simpletest.pages.inc
Test results form for $test_id.
simpletest_run_tests in modules/simpletest/simpletest.module
Actually runs tests.
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.
StatisticsBlockVisitorsTestCase::getInfo in modules/statistics/statistics.test
StatisticsBlockVisitorsTestCase::testIPAddressBlocking in modules/statistics/statistics.test
Blocks an IP address via the top visitors report then uses the same page to unblock it.
statistics_access_log in modules/statistics/statistics.admin.inc
Menu callback; Displays recent page accesses.
statistics_block_configure in modules/statistics/statistics.module
Implementation of hook_block_configure().
statistics_block_list in modules/statistics/statistics.module
Implementation of hook_block_list().
statistics_block_view in modules/statistics/statistics.module
Implementation of hook_block_view().
statistics_help in modules/statistics/statistics.module
Implementation of hook_help().
statistics_node_tracker in modules/statistics/statistics.pages.inc
statistics_perm in modules/statistics/statistics.module
Implementation of hook_perm().
statistics_ranking in modules/statistics/statistics.module
Implementation of 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_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
SyslogTestCase::getInfo in modules/syslog/syslog.test
SyslogTestCase::testSettings in modules/syslog/syslog.test
Test the syslog settings page.
syslog_facility_list in modules/syslog/syslog.module
syslog_form_system_logging_settings_alter in modules/syslog/syslog.module
Implementation of hook_form_FORM_ID_alter().
syslog_help in modules/syslog/syslog.module
Implementation of hook_help().
SystemBlockTestCase::getInfo in modules/system/system.test
SystemBlockTestCase::testPoweredByBlock in modules/system/system.test
Test displaying and hiding the powered-by block.
SystemSettingsForm::getInfo in modules/system/system.test
Implementation of getInfo().
SystemThemeFunctionalTest::getInfo in modules/system/system.test
SystemThemeFunctionalTest::testAdministrationTheme in modules/system/system.test
Test the administration theme functionality.
system_actions_configure in modules/system/system.module
Menu callback. Create the form for configuration of a single action.
system_actions_configure_submit in modules/system/system.module
Process system_actions_configure form submissions.
system_actions_delete_form in modules/system/system.module
Create the form for confirmation of deleting an action.
system_actions_delete_form_submit in modules/system/system.module
Process system_actions_delete form submissions.
system_actions_manage in modules/system/system.module
Menu callback. Display an overview of available and configured actions.
system_actions_manage_form in modules/system/system.module
Define the form for the actions overview page.
system_action_delete_orphans_post in modules/system/system.module
Post-deletion operations for deleting action orphans.
system_action_info in modules/system/system.module
Implementation of hook_action_info().
system_admin_by_module in modules/system/system.admin.inc
Menu callback; prints a listing of admin tasks for each installed module.
system_admin_menu_block_page in modules/system/system.admin.inc
Provide a single block from the administration menu as a page. This function is often a destination for these blocks. For example, 'admin/build/types' needs to have a destination to be valid in the Drupal menu system, but too much…
system_block_configure in modules/system/system.module
Implementation of hook_block_configure().
system_block_list in modules/system/system.module
Implementation of hook_block_list().
system_block_view in modules/system/system.module
Implementation of hook_block_view().
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_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
Implementation of a configurable Drupal action. Redirect user to a URL.
system_help in modules/system/system.module
Implementation of hook_help().
system_hook_info in modules/system/system.module
Implementation of hook_hook_info().
system_image_toolkits in modules/system/system.module
Implementation of 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_main_admin_page in modules/system/system.admin.inc
Menu callback; Provide the administration overview page.
system_message_action in modules/system/system.module
A configurable Drupal action. Sends a message to the current user's screen.
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_perm in modules/system/system.module
Implementation of hook_perm().
system_regional_settings in modules/system/system.admin.inc
Form builder; Configure the site date and time settings.
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
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_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
Validate the submitted site-information form.
system_site_maintenance_mode in modules/system/system.admin.inc
Form builder; Configure the site's maintenance status.
system_test_basic_auth_page in modules/simpletest/tests/system_test.module
system_test_init in modules/simpletest/tests/system_test.module
Implementation of hook_init().
system_test_modules_disabled in modules/simpletest/tests/system_test.module
Implementation of hook_modules_disabled().
system_test_modules_enabled in modules/simpletest/tests/system_test.module
Implementation of hook_modules_enabled().
system_test_modules_installed in modules/simpletest/tests/system_test.module
Implementation of hook_modules_installed().
system_test_modules_uninstalled in modules/simpletest/tests/system_test.module
Implementation of hook_modules_uninstalled().
system_test_set_header in modules/simpletest/tests/system_test.module
system_themes_form in modules/system/system.admin.inc
Menu callback; displays a listing of all themes.
system_themes_form_submit in modules/system/system.admin.inc
Process system_themes_form form submissions.
system_theme_select_form in modules/system/system.module
Returns a fieldset containing the theme select form.
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_time_zones in modules/system/system.module
Generate an array of time zones and their local time&date.
system_user_form in modules/system/system.module
Implementation of hook_user_form().
system_user_login in modules/system/system.module
Implementation of hook_user_login().
system_user_timezone in modules/system/system.module
Add the time zone field to the user edit and register forms.
tablesort_header in includes/tablesort.inc
Format a column header.
TaxonomyHooksTestCase::getInfo in modules/taxonomy/taxonomy.test
TaxonomyHooksTestCase::testTaxonomyTermHooks in modules/taxonomy/taxonomy.test
Test that hooks are run correctly on creating, editing and deleting a term.
TaxonomyLoadMultipleUnitTest::getInfo in modules/taxonomy/taxonomy.test
TaxonomyLoadMultipleUnitTest::testTaxonomyTermMultipleLoad in modules/taxonomy/taxonomy.test
Create a vocabulary and some taxonomy terms, ensuring they're loaded correctly using taxonomy_term_load_multiple().
TaxonomyTermTestCase::getInfo in modules/taxonomy/taxonomy.test
TaxonomyTermTestCase::testNodeTermCreation in modules/taxonomy/taxonomy.test
Test term creation with a free-tagging vocabulary from the node form.
TaxonomyTermTestCase::testTaxonomyNode in modules/taxonomy/taxonomy.test
Test that hook_node_$op implementations work correctly.
TaxonomyTermTestCase::testTaxonomySynonyms in modules/taxonomy/taxonomy.test
Test synonyms.
TaxonomyTermTestCase::testTaxonomyTermHierarchy in modules/taxonomy/taxonomy.test
Test terms in a single and multiple hierarchy.
TaxonomyTermTestCase::testTaxonomyTermRelations in modules/taxonomy/taxonomy.test
Test related terms.
TaxonomyTermTestCase::testTermInterface in modules/taxonomy/taxonomy.test
Save, edit and delete a term using the user interface.
TaxonomyTermUnitTest::getInfo in modules/taxonomy/taxonomy.test
TaxonomyTermUnitTest::testTaxonomyTermCountNodes in modules/taxonomy/taxonomy.test
Tests for taxonomy_term_count_nodes().
TaxonomyVocabularyFunctionalTest::getInfo in modules/taxonomy/taxonomy.test
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::getInfo in modules/taxonomy/taxonomy.test
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_form in modules/taxonomy/taxonomy.module
Generate a form element for selecting terms from a vocabulary.
taxonomy_form_alter in modules/taxonomy/taxonomy.module
Implementation of hook_form_alter(). Generate a form for selecting terms to associate with a node. We check for taxonomy_override_selector before loading the full vocabulary, so contrib modules can intercept before hook_form_alter and provide scalable…
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 edit form. Ensure numeric weight values.
taxonomy_form_vocabulary in modules/taxonomy/taxonomy.admin.inc
Display form for adding and editing vocabularies.
taxonomy_form_vocabulary_submit in modules/taxonomy/taxonomy.admin.inc
Accept the form submission for a vocabulary and save the results.
taxonomy_help in modules/taxonomy/taxonomy.module
Implementation of hook_help().
taxonomy_hook_info in modules/taxonomy/taxonomy.module
Implementation of hook_hook_info().
taxonomy_node_validate in modules/taxonomy/taxonomy.module
Implementation of hook_node_validate().
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_perm in modules/taxonomy/taxonomy.module
Implementation of hook_perm().
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_confirm_parents in modules/taxonomy/taxonomy.admin.inc
Form builder for the confirmation of multiple term parents.
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
Implementation of hook_form_alter().
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.
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.
TemplateUnitTest::getInfo in modules/simpletest/tests/theme.test
TemplateUnitTest::testTemplateSuggestions in modules/simpletest/tests/theme.test
Test function template_page_suggestions() for SA-CORE-2009-003.
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
Process variables for block-admin-display.tpl.php.
template_preprocess_comment in modules/comment/comment.module
Process variables for comment.tpl.php.
template_preprocess_comment_folded in modules/comment/comment.module
Process variables for comment-folded.tpl.php.
template_preprocess_field in modules/field/field.module
Theme preprocess function for field.tpl.php.
template_preprocess_forums in modules/forum/forum.module
Process variables for forums.tpl.php
template_preprocess_forum_topic_list in modules/forum/forum.module
Preprocess variables to format the topic listing.
template_preprocess_user_picture in modules/user/user.module
Process variables for user-picture.tpl.php.
TextFieldTestCase::getInfo in modules/field/modules/text/text.test
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().
text_field_formatter_info in modules/field/modules/text/text.module
Implementation of hook_field_formatter_info().
text_field_info in modules/field/modules/text/text.module
Implementation of hook_field_info().
text_field_validate in modules/field/modules/text/text.module
Implementation of hook_field_validate().
text_field_widget_info in modules/field/modules/text/text.module
Implementation of hook_field_widget_info().
theme_aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Theme the page list form for assigning categories.
theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Theme the RSS output.
theme_book_admin_table in modules/book/book.admin.inc
Theme function for the book administration page form.
theme_color_scheme_form in modules/color/color.module
Theme the color form.
theme_comment_block in modules/comment/comment.module
Returns a formatted list of recent comments to be displayed in the comment block.
theme_comment_post_forbidden in modules/comment/comment.module
Theme a "you can't post comments" notice.
theme_comment_submitted in modules/comment/comment.module
Theme a "Submitted by ..." notice.
theme_feed_icon in includes/theme.inc
Return code that emits an feed icon.
theme_field_multiple_value_form in modules/field/field.form.inc
Theme an individual form element.
theme_filter_admin_order in modules/filter/filter.admin.inc
Theme filter order configuration form.
theme_filter_admin_overview in modules/filter/filter.admin.inc
Theme the admin overview form.
theme_filter_tips in modules/filter/filter.pages.inc
Render HTML for a set of filter tips.
theme_filter_tips_more_info in modules/filter/filter.module
Format a link to the more extensive filter tips.
theme_locale_languages_overview_form in includes/locale.inc
Theme the language overview form.
theme_mark in includes/theme.inc
Return a themed marker, useful for marking new or updated content.
theme_menu_overview_form in modules/menu/menu.admin.inc
Theme the menu overview form into a table.
theme_more_help_link in includes/theme.inc
Returns code that emits the 'more help'-link.
theme_more_link in includes/theme.inc
Returns code that emits the 'more' link used on blocks.
theme_node_admin_nodes in modules/node/node.admin.inc
Theme node administration overview.
theme_node_filters in modules/node/node.admin.inc
Theme node administration filter selector.
theme_node_log_message in modules/node/node.module
Theme a log message.
theme_node_preview in modules/node/node.pages.inc
Display a node preview for display during node creation and editing.
theme_node_search_admin in modules/node/node.module
Theme the content ranking part of the search settings admin page.
theme_node_submitted in modules/node/node.module
Format the "Submitted by username on date/time" for each node
theme_options_none in modules/field/modules/options/options.module
Theme the label for the empty value for options that are not required. The default theme will display N/A for a radio list and blank for a select.
theme_pager in includes/pager.inc
Format a query pager.
theme_pager_link in includes/pager.inc
Format a link to a specific query result page.
theme_poll_choices in modules/poll/poll.module
Theme the admin poll form for choices.
theme_profile_admin_overview in modules/profile/profile.admin.inc
Theme the profile field overview into a drag and drop enabled table.
theme_simpletest_test_table in modules/simpletest/simpletest.pages.inc
Theme the test list generated by simpletest_test_form() into a table.
theme_system_admin_by_module in modules/system/system.admin.inc
Theme output of the dashboard page.
theme_system_compact_link in modules/system/system.module
Display the link to show or hide inline help descriptions.
theme_system_modules_fieldset in modules/system/system.admin.inc
Theme callback for the modules form.
theme_system_modules_uninstall in modules/system/system.admin.inc
Themes a table of currently disabled modules.
theme_system_powered_by in modules/system/system.module
Format the Powered by Drupal text.
theme_system_themes_form in modules/system/system.admin.inc
Theme function for the system themes form.
theme_system_theme_select_form in modules/system/system.admin.inc
Theme the theme select form.
theme_tablesort_indicator in includes/theme.inc
Return a themed sort icon.
theme_taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Theme the terms overview as a sortable list of terms.
theme_taxonomy_overview_vocabularies in modules/taxonomy/taxonomy.admin.inc
Theme the vocabulary overview as a sortable list of vocabularies.
theme_trigger_display in modules/trigger/trigger.admin.inc
Display actions assigned to this hook-op combination in a table.
theme_update_report in modules/update/update.report.inc
Theme project status report.
theme_update_version in modules/update/update.report.inc
Theme the version display of a project.
theme_upload_attachments in modules/upload/upload.module
Displays file attachments in table
theme_upload_form_current in modules/upload/upload.module
Theme the attachments list.
theme_username in includes/theme.inc
Format a username.
theme_user_admin_account in modules/user/user.admin.inc
Theme user administration overview.
theme_user_admin_new_role in modules/user/user.admin.inc
Theme the new-role form.
theme_user_admin_perm in modules/user/user.admin.inc
Theme the administer permissions page.
theme_user_filters in modules/user/user.admin.inc
Theme user administration filter selector.
TrackerTest::getInfo in modules/tracker/tracker.test
TrackerTest::testTrackerAll in modules/tracker/tracker.test
Test the presence of nodes on the global tracker listing.
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
Implementation of hook_help().
tracker_page in modules/tracker/tracker.pages.inc
Menu callback. Prints a listing of active nodes on the site.
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::createPage in modules/translation/translation.test
Create a page in the specified language.
TranslationTestCase::createTranslation in modules/translation/translation.test
Create a translation for the specified page in the specified language.
TranslationTestCase::getInfo in modules/translation/translation.test
TranslationTestCase::testContentTranslation in modules/translation/translation.test
Create a page with translation, modify the page outdating translation, and update translation.
translation_form_alter in modules/translation/translation.module
Implementation of hook_form_alter().
translation_form_node_type_form_alter in modules/translation/translation.module
Implementation of hook_form_FORM_ID_alter().
translation_help in modules/translation/translation.module
Implementation of 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
Implementation of hook_node_prepare().
translation_node_validate in modules/translation/translation.module
Implementation of hook_node_validate().
translation_perm in modules/translation/translation.module
Implementation of hook_perm().
TriggerContentTestCase::actionInfo in modules/trigger/trigger.test
Helper function for testActionsContent(): returns some info about each of the content actions.
TriggerContentTestCase::getInfo in modules/trigger/trigger.test
TriggerContentTestCase::testActionsContent in modules/trigger/trigger.test
Various tests, all in one function to assure they happen in the right order.
trigger_assign_form in modules/trigger/trigger.admin.inc
Create the form definition for assigning an action to a hook-op combination.
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_help in modules/trigger/trigger.module
Implementation of hook_help().
trigger_options in modules/trigger/trigger.module
Often we generate a select field of all actions. This function generates the options for that select.
trigger_unassign in modules/trigger/trigger.admin.inc
Confirm removal of an assigned action.
trigger_unassign_submit in modules/trigger/trigger.admin.inc
UnicodeUnitTest::getInfo in modules/simpletest/tests/unicode.test
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::testDecodeEntities in modules/simpletest/tests/unicode.test
Test decode_entities().
UnicodeUnitTest::testDecodeEntitiesExclusion in modules/simpletest/tests/unicode.test
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.
UpdateFeedItemTestCase::getInfo in modules/aggregator/aggregator.test
UpdateFeedItemTestCase::testUpdateFeedItem in modules/aggregator/aggregator.test
Test running "update items" from the 'admin/content/aggregator' page.
UpdateFeedTestCase::getInfo in modules/aggregator/aggregator.test
UpdateFeedTestCase::testUpdateFeed in modules/aggregator/aggregator.test
Create a feed and attempt to update it.
update_calculate_project_data in modules/update/update.compare.inc
Given the installed projects and the available release data retrieved from remote servers, calculate the current status.
update_fix_d7_requirements in ./update.php
Perform Drupal 6.x to 7.x updates that are required for update.php to function properly.
update_help in modules/update/update.module
Implementation of hook_help().
update_mail in modules/update/update.module
Implementation of hook_mail().
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.module
Implementation of 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_submit in modules/update/update.settings.inc
Submit handler for the settings tab.
update_settings_validate in modules/update/update.settings.inc
Validation callback for the settings form.
UploadTestCase::checkUploadedFile in modules/upload/upload.test
Check that uploaded file is accessible and verify the contents against the original.
UploadTestCase::getInfo in modules/upload/upload.test
UploadTestCase::testFilesFilter in modules/upload/upload.test
Ensure the the file filter works correctly by attempting to upload a non-allowed file extension.
UploadTestCase::testLimit in modules/upload/upload.test
Attempt to upload a file that is larger than the maxsize and see that it fails.
UploadTestCase::testNodeUpload in modules/upload/upload.test
Create node; upload files to node; and edit, and delete uploads.
UploadTestCase::uploadFile in modules/upload/upload.test
Upload file to specified node.
upload_admin_settings in modules/upload/upload.admin.inc
Menu callback for the upload settings form.
upload_admin_settings_validate in modules/upload/upload.admin.inc
Form API callback to validate the upload settings form.
upload_form_alter in modules/upload/upload.module
upload_help in modules/upload/upload.module
Implementation of hook_help().
upload_js in modules/upload/upload.module
Menu-callback for JavaScript-based uploads.
upload_node_links in modules/upload/upload.module
Inject links into $node for attachments.
upload_perm in modules/upload/upload.module
Implementation of hook_perm().
UserAdminTestCase::getInfo in modules/user/user.test
UserAdminTestCase::testUserAdmin in modules/user/user.test
Registers a user and deletes it.
UserAutocompleteTestCase::getInfo in modules/user/user.test
UserAutocompleteTestCase::testUserAutocomplete in modules/user/user.test
Tests access to user autocompletion and verify the correct results.
UserBlocksUnitTests::getInfo in modules/user/user.test
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::getInfo in modules/user/user.test
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::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.
UserPermissionsTestCase::getInfo in modules/user/user.test
UserPermissionsTestCase::testUserPermissionChanges in modules/user/user.test
Change user permissions and check user_access().
UserPictureTestCase::getInfo in modules/user/user.test
UserPictureTestCase::saveUserPicture in modules/user/user.test
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::getInfo in modules/user/user.test
UserRegistrationTestCase::testUserRegistration in modules/user/user.test
Registers a user, fails login, resets password, successfully logs in with the one time password, changes password, logs out, successfully logs in with the new password, visits profile page.
UserSaveTestCase::getInfo in modules/user/user.test
UserSaveTestCase::testUserImport in modules/user/user.test
Test creating a user with arbitrary uid.
UserTimeZoneFunctionalTest::getInfo in modules/user/user.test
UserTimeZoneFunctionalTest::testUserTimeZone in modules/user/user.test
Tests the display of dates and time when user-configurable time zones are set.
UserValidationTestCase::getInfo in modules/user/user.test
user_action_info in modules/user/user.module
Implementation of 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_perm in modules/user/user.admin.inc
Menu callback: administer permissions.
user_admin_perm_submit in modules/user/user.admin.inc
Save permissions selected on the administer permissions page.
user_admin_role in modules/user/user.admin.inc
Menu callback: administer roles.
user_admin_role_submit in modules/user/user.admin.inc
user_admin_role_validate in modules/user/user.admin.inc
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
Implementation of hook_block_configure().
user_block_list in modules/user/user.module
Implementation of hook_block_list().
user_block_view in modules/user/user.module
Implementation of 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_edit_form in modules/user/user.module
user_edit_submit in modules/user/user.pages.inc
user_edit_validate in modules/user/user.pages.inc
user_external_login_register in modules/user/user.module
Helper function for authentication modules. Either login in or registers the current user, based on username. Either way, the global $user object is populated based on $name.
user_fieldable_info in modules/user/user.module
Implementation of hook_fieldable_info().
user_field_build_modes in modules/user/user.module
Implementation of hook_field_build_modes().
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_help in modules/user/user.module
Implementation of hook_help().
user_hook_info in modules/user/user.module
Implementation of hook_hook_info().
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
A validate handler on the login form. Should be the last validator. Sets an error if user has not been authenticated yet.
user_login_name_validate in modules/user/user.module
A FAPI validate handler. Sets an error if supplied username has been blocked.
user_multiple_cancel_confirm in modules/user/user.module
user_page_title in modules/user/user.module
Menu item title callback - use the user name if it's not the current user.
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_perm in modules/user/user.module
Implementation of hook_perm().
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_profile_form_validate in modules/user/user.pages.inc
Validation function for the user account and profile editing form.
user_register 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_search in modules/user/user.module
Implementation of hook_search().
user_update_7004 in modules/user/user.install
Add the user's pictures to the {files} table and make them managed files.
user_user_categories in modules/user/user.module
Implementation of hook_user_categories.
user_user_operations in modules/user/user.module
Implementation of hook_user_operations().
user_user_validate in modules/user/user.module
Implementation of hook_user_validate().
user_user_view in modules/user/user.module
Implementation of hook_user_view().
user_validate_mail in modules/user/user.module
user_validate_name in modules/user/user.module
Verify the syntax of the given name.
user_validate_picture in modules/user/user.module
ValidUrlTestCase::getInfo in modules/simpletest/tests/common.test
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.
watchdog_severity_levels in includes/common.inc
Severity levels, as defined in RFC 3164: http://www.ietf.org/rfc/rfc3164.txt.
xmlrpc in includes/xmlrpc.inc
Performs one or more XML-RPC request(s).
XMLRPCMessagesTestCase::getInfo in modules/simpletest/tests/xmlrpc.test
XMLRPCMessagesTestCase::testSizedMessages in modules/simpletest/tests/xmlrpc.test
Make sure that XML-RPC can transfer large messages.
XMLRPCValidator1IncTestCase::getInfo in modules/simpletest/tests/xmlrpc.test
xmlrpc_server in includes/xmlrpcs.inc
The main entry point for XML-RPC requests.
xmlrpc_server_call in includes/xmlrpcs.inc
Dispatch the request and any parameters to the appropriate handler.
xmlrpc_server_method_signature in includes/xmlrpcs.inc
XML-RPC method system.methodSignature maps to this function.
xmlrpc_server_multicall in includes/xmlrpcs.inc
_batch_do in includes/batch.inc
Do one pass of execution in JavaScript-mode and return progress to the browser.
_batch_page in includes/batch.inc
State-based dispatcher for the batch processing page.
_block_rehash in modules/block/block.module
Update the 'block' DB table with the blocks currently exported by modules.
_blogapi_validate_blogid in modules/blogapi/blogapi.module
Validate blog ID, which maps to a content type in Drupal.
_book_add_form_elements in modules/book/book.module
Build the common elements of the book form for the node and outline forms.
_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_form_submit in modules/comment/comment.module
Prepare a comment for submission.
_comment_get_modes in modules/comment/comment.module
Return an array of viewing modes for comment listings.
_dblog_format_message in modules/dblog/dblog.admin.inc
Formats a log message for display.
_drupal_log_error in includes/common.inc
Log a PHP error or exception, display an error page in fatal cases.
_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_html_settings in modules/filter/filter.module
Settings for the HTML filter.
_filter_url_settings in modules/filter/filter.module
Settings for URL filter.
_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.
_forum_parent_select in modules/forum/forum.admin.inc
Returns a select box for available parent terms
_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 includes/locale.inc
Common elements of the language addition and editing form.
_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_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 offline for maintenance.
_node_access_rebuild_batch_finished in modules/node/node.module
Post-processing for node_access_rebuild_batch.
_node_characters in modules/node/node.admin.inc
Helper function for teaser length choices.
_node_mass_update_batch_finished in modules/node/node.admin.inc
Node Mass Update Batch 'finished' callback.
_openid_user_login_form_alter in modules/openid/openid.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_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.
_simpletest_batch_finished in modules/simpletest/simpletest.module
_simpletest_batch_operation in modules/simpletest/simpletest.module
Batch operation callback.
_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.
_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_refresh in modules/update/update.fetch.inc
Fetch project info via XML from a central server.
_update_requirement_check in modules/update/update.module
Private helper method to fill in the requirements array.
_upload_form in modules/upload/upload.module
_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.
_user_password_dynamic_validation in modules/user/user.module
Add javascript and string translations for dynamic password validation (strength and confirmation checking).
__construct in modules/field/field.attach.inc
Constructor for FieldValidationException.

Code

includes/common.inc, line 1104

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

  if (!isset($langcode)) {
    $langcode = isset($language->language) ? $language->language : 'en';
  }

  // 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[$langcode])) {
    $custom_strings[$langcode] = variable_get('locale_custom_strings_' . $langcode, array());
  }
  // Custom strings work for English too, even if locale module is disabled.
  if (isset($custom_strings[$langcode][$string])) {
    $string = $custom_strings[$langcode][$string];
  }
  // Translate with locale module if enabled.
  // We don't use drupal_function_exists() here, because it breaks the testing
  // framework if the locale module is enabled in the parent site (we cannot
  // unload functions in PHP).
  elseif (module_exists('locale') && $langcode != 'en') {
    $string = locale($string, $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] = theme('placeholder', $value);
          break;

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

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen