public function ImportPartialCommand::__construct in Tome 8
Constructs an ImportPartialCommand 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\tome_sync\ContentHasherInterface $content_hasher: The content hasher.
Overrides ImportCommand::__construct
File
- modules/
tome_sync/ src/ Commands/ ImportPartialCommand.php, line 40
Class
- ImportPartialCommand
- Contains the tome:import-partial command.
Namespace
Drupal\tome_sync\CommandsCode
public function __construct(ImporterInterface $importer, EntityTypeManagerInterface $entity_type_manager, StateInterface $state, ContentHasherInterface $content_hasher) {
parent::__construct($importer, $entity_type_manager, $state);
$this->contentHasher = $content_hasher;
}