You are here

function tft_archive_folder_batch in Taxonomy File Tree 7

Same name and namespace in other branches
  1. 7.2 tft.module \tft_archive_folder_batch()

Defines a batch for adding an archive folder to all groups that do not have one.

1 call to tft_archive_folder_batch()
tft_settings_form_validate in ./tft.admin.inc

File

./tft.module, line 1395
Module hooks.

Code

function tft_archive_folder_batch() {
  $batch = array(
    'title' => t("Adding archive folders"),
    'operations' => array(
      array(
        'tft_archive_folder_batch_process',
        array(),
      ),
    ),
  );
  batch_set($batch);
}