You are here

public static function StructureSyncHelper::importMenuLinksFull in Structure Sync 8

Same name and namespace in other branches
  1. 2.x src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::importMenuLinksFull()

Function to start importing menu links with the 'full' style.

File

src/StructureSyncHelper.php, line 157

Class

StructureSyncHelper
Container of functions for importing and exporting content in structure.

Namespace

Drupal\structure_sync

Code

public static function importMenuLinksFull(array &$form, FormStateInterface $form_state = NULL) {
  $form['style'] = 'full';
  StructureSyncHelper::importMenuLinks($form, $form_state);
}