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