public static function StructureSyncHelper::exportCustomBlocks in Structure Sync 8
Same name and namespace in other branches
- 2.x src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::exportCustomBlocks()
Function to export custom blocks.
2 calls to StructureSyncHelper::exportCustomBlocks()
- drush_structure_sync_export_blocks in ./
structure_sync.drush.inc - Call back function drush_structure_sync_export_blocks()
- StructureSyncCommands::exportBlocks in src/
Commands/ StructureSyncCommands.php - Export blocks
File
- src/
StructureSyncHelper.php, line 26
Class
- StructureSyncHelper
- Container of functions for importing and exporting content in structure.
Namespace
Drupal\structure_syncCode
public static function exportCustomBlocks(array $form = NULL, FormStateInterface $form_state = NULL) {
$blocksController = new BlocksController();
$blocksController
->exportBlocks($form, $form_state);
}