You are here

function taxonomy_edge_cron_queue_info in Taxonomy Edge 7.2

Same name and namespace in other branches
  1. 8 taxonomy_edge.module \taxonomy_edge_cron_queue_info()
  2. 6 taxonomy_edge.module \taxonomy_edge_cron_queue_info()
  3. 7 taxonomy_edge.module \taxonomy_edge_cron_queue_info()

Implements hook_cron_queue_info().

File

./taxonomy_edge.module, line 151
Selecting all children of a given taxonomy term can be a pain. This module makes it easier to do this, by maintaining a complete list of edges for each term using the adjecency matrix graph theory.

Code

function taxonomy_edge_cron_queue_info() {
  $queues['taxonomy_edge'] = array(
    'worker callback' => 'taxonomy_edge_process_queue_item',
    'time' => 60,
  );
  return $queues;
}