You are here

public function BlocksSyncForm::__construct in Structure Sync 8

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

Class constructor.

Overrides ConfigFormBase::__construct

File

src/Form/BlocksSyncForm.php, line 37

Class

BlocksSyncForm
Import and export form for content in structure, like taxonomy terms.

Namespace

Drupal\structure_sync\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Connection $database, EntityTypeManagerInterface $entityManager) {
  parent::__construct($config_factory);
  $this->database = $database;
  $this->entityTypeManager = $entityManager;
}