Batch API

Of interest to programmers is the new Batch API system (borrowed heavily from Drupal's Batch API system). This module ships with FlightPath version 4.6 and newer.

The Batch API allows a module to conduct a lengthy set of processes without reaching a browser timeout. In fact, the user is presented an attractive progress bar, as seen below:


This is achieved by working through the Batch module's helper functions.


A working example

To see a working example, view the /modules/batch/batch.test.inc file.  You can activate this test in your browser by visiting this URL while logged in as admin:  example.com/your-flightpath-dir/batch-test-form