function drush_taxonomy_edge_rebuild_edges in Taxonomy Edge 7
Rebuild edges.
File
- ./
taxonomy_edge.drush.inc, line 72 - Drush commands for Taxonomy Edge.
Code
function drush_taxonomy_edge_rebuild_edges($name) {
$vid = _drush_taxonomy_edge_get_vid($name);
if (!$vid) {
return $vid;
}
module_load_include('rebuild.inc', 'taxonomy_edge');
$function = drush_get_option('order') ? 'taxonomy_edge_rebuild_all_batch' : 'taxonomy_edge_rebuild_edges_batch';
$function(array(
$vid,
));
$batch =& batch_get();
$batch['progressive'] = FALSE;
drush_backend_batch_process();
}