You are here

public function ConfigSingleExportForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/config/src/Form/ConfigSingleExportForm.php \Drupal\config\Form\ConfigSingleExportForm::__construct()
  2. 10 core/modules/config/src/Form/ConfigSingleExportForm.php \Drupal\config\Form\ConfigSingleExportForm::__construct()

Constructs a new ConfigSingleImportForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Config\StorageInterface $config_storage: The config storage.

File

core/modules/config/src/Form/ConfigSingleExportForm.php, line 61

Class

ConfigSingleExportForm
Provides a form for exporting a single configuration file.

Namespace

Drupal\config\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, StorageInterface $config_storage) {
  $this->entityTypeManager = $entity_type_manager;
  $this->configStorage = $config_storage;
}