You are here

function drush_structure_sync_export_taxonomies in Structure Sync 8

Same name and namespace in other branches
  1. 2.x structure_sync.drush.inc \drush_structure_sync_export_taxonomies()

Call back function drush_structure_sync_export_taxonomies()

The call back function name in the following format drush_{module_name}_{item_id_for_command}()

1 call to drush_structure_sync_export_taxonomies()
drush_structure_sync_export_all in ./structure_sync.drush.inc
Call back function drush_structure_sync_export_all()

File

./structure_sync.drush.inc, line 95
Drush commands for syncing structure content.

Code

function drush_structure_sync_export_taxonomies() {
  drush_print('Exporting taxonomies...');
  StructureSyncHelper::exportTaxonomies([
    'drush' => TRUE,
  ]);
  drush_log('Successfully exported taxonomies', 'ok');
}