You are here

public function StructureSyncCommands::importAll in Structure Sync 8

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

Import menu links, Taxonomy and Blocks

@validate-module-enabled structure_sync

@command import:all

@option choice Import style choice. @aliases ia,import-all

File

src/Commands/StructureSyncCommands.php, line 195

Class

StructureSyncCommands
A Drush commandfile.

Namespace

Drupal\structure_sync\Commands

Code

public function importAll($options = [
  'choice' => NULL,
]) {
  $this
    ->importTaxonomies($options);
  $this
    ->importBlocks($options);
  $this
    ->importMenus($options);
}