function drush_structure_sync_export_blocks in Structure Sync 8
Same name and namespace in other branches
- 2.x structure_sync.drush.inc \drush_structure_sync_export_blocks()
Call back function drush_structure_sync_export_blocks()
The call back function name in the following format drush_{module_name}_{item_id_for_command}()
1 call to drush_structure_sync_export_blocks()
- drush_structure_sync_export_all in ./
structure_sync.drush.inc - Call back function drush_structure_sync_export_all()
File
- ./
structure_sync.drush.inc, line 143 - Drush commands for syncing structure content.
Code
function drush_structure_sync_export_blocks() {
drush_print('Exporting blocks...');
StructureSyncHelper::exportCustomBlocks([
'drush' => TRUE,
]);
drush_log('Successfully exported blocks', 'ok');
}