Definitions of the batches used in this module.
| Name | Description |
|---|---|
| batch_example_batch_1 | Batch 1 definition: Load the node with the lowest nid 1000 times. This creates an operations array defining what batch 1 should do, including what it should do when it's finished. In this case, each operation is the same and by chance even has… |
| batch_example_batch_2 | Batch 2 : Prepare a batch definition that will load all nodes 20 times. |
| batch_example_finished | Batch 'finished' callback used by both batch 1 and batch 2. |
| batch_example_lowest_nid | Utility function - simply queries and loads the lowest nid. |
| batch_example_op_1 | Batch operation for batch 1: load a node. This is the function that is called on each operation in batch 1. |
| batch_example_op_2 | Batch operation for batch 2 : load all nodes, 5 by five After each group of 5 control is returned to the batch API for later continuation. |
examples/