You are here

public function MenuSyncForm::__construct in Structure Sync 2.x

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

Class constructor.

Overrides ConfigFormBase::__construct

File

src/Form/MenuSyncForm.php, line 34

Class

MenuSyncForm
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) {
  parent::__construct($config_factory);
  $this->database = $database;
}