You are here

public static function StructureSyncHelper::importTaxonomiesForce in Structure Sync 2.x

Same name and namespace in other branches
  1. 8 src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::importTaxonomiesForce()

Function to start importing taxonomies with the 'force' style.

File

src/StructureSyncHelper.php, line 121

Class

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

Namespace

Drupal\structure_sync

Code

public static function importTaxonomiesForce(array &$form, FormStateInterface $form_state = NULL) {
  $form['style'] = 'force';
  StructureSyncHelper::importTaxonomies($form, $form_state);
}