You are here

public static function StructureSyncHelper::importCustomBlocksForce in Structure Sync 8

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

Function to start importing custom blocks with the 'force' style.

File

src/StructureSyncHelper.php, line 148

Class

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

Namespace

Drupal\structure_sync

Code

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