You are here

public function DeleteContentCommand::__construct in Tome 8

Constructs an DeleteContentCommand instance.

Parameters

\Drupal\tome_sync\ImporterInterface $importer: The importer.

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

\Drupal\Core\State\StateInterface $state: The state system.

\Drupal\Core\Config\ConfigInstallerInterface $config_installer: The config installer.

Overrides ImportCommand::__construct

File

modules/tome_sync/src/Commands/DeleteContentCommand.php, line 40

Class

DeleteContentCommand
Contains the tome:delete-content command.

Namespace

Drupal\tome_sync\Commands

Code

public function __construct(ImporterInterface $importer, EntityTypeManagerInterface $entity_type_manager, StateInterface $state, ConfigInstallerInterface $config_installer) {
  parent::__construct($importer, $entity_type_manager, $state);
  $this->configInstaller = $config_installer;
}