batch_test.module

Helper module for the Batch API tests.

File

drupal/core/modules/system/tests/modules/batch_test/batch_test.module
View source

Functions

Namesort descending Description
batch_test_chained_form Form constructor for a form with chained submit callbacks.
batch_test_chained_form_submit_1 Form submission handler #1 for batch_test_chained_form().
batch_test_chained_form_submit_2 Form submission handler #2 for batch_test_chained_form().
batch_test_chained_form_submit_3 Form submission handler #3 for batch_test_chained_form().
batch_test_chained_form_submit_4 Form submission handler #4 for batch_test_chained_form().
batch_test_large_percentage Menu callback: Fires a batch process without a form submission.
batch_test_menu Implements hook_menu().
batch_test_mock_form Form constructor for a simple form with a textfield and submit button.
batch_test_mock_form_submit Form submission handler for batch_test_mock_form().
batch_test_multistep_form Form constructor for a multistep form.
batch_test_multistep_form_submit Form submission handler for batch_test_multistep_form().
batch_test_nested_drupal_form_submit Menu callback: Submits a form within a batch programmatically.
batch_test_no_form Menu callback: Fires a batch process without a form submission.
batch_test_programmatic Menu callback: Submits the 'Chained' form programmatically.
batch_test_redirect_page Menu callback: Redirects successfuly.
batch_test_simple_form Form constructor for a batch selection form.
batch_test_simple_form_submit Form submission handler for batch_test_simple_form().
batch_test_stack Helper function: Stores or retrieves traced execution data.
batch_test_theme_batch Menu callback: Runs a batch for testing theme used on the progress page.
_batch_test_batch_0 Batch 0: Does nothing.
_batch_test_batch_1 Batch 1: Repeats a simple operation.
_batch_test_batch_2 Batch 2: Performs a single multistep operation.
_batch_test_batch_3 Batch 3: Performs both single and multistep operations.
_batch_test_batch_4 Batch 4: Performs a batch within a batch.
_batch_test_batch_5 Batch 5: Repeats a simple operation.
_batch_test_nested_drupal_form_submit_callback Batch operation: Submits form_test_mock_form() using drupal_form_submit().
_batch_test_theme_callback Tests the progress page theme by performing a batch callback.