public static function StructureSyncHelper::importMenuLinksForce in Structure Sync 8
Same name and namespace in other branches
- 2.x src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::importMenuLinksForce()
Function to start importing menu links with the 'force' style.
File
- src/
StructureSyncHelper.php, line 175
Class
- StructureSyncHelper
- Container of functions for importing and exporting content in structure.
Namespace
Drupal\structure_syncCode
public static function importMenuLinksForce(array &$form, FormStateInterface $form_state = NULL) {
$form['style'] = 'force';
StructureSyncHelper::importMenuLinks($form, $form_state);
}