function Importer::__construct

File

core/lib/Drupal/Core/DefaultContent/Importer.php, line 42

Class

Importer
A service for handling import of content.

Namespace

Drupal\Core\DefaultContent

Code

public function __construct(private readonly EntityTypeManagerInterface $entityTypeManager, private readonly AdminAccountSwitcher $accountSwitcher, private readonly FileSystemInterface $fileSystem, private readonly LanguageManagerInterface $languageManager, private readonly EntityRepositoryInterface $entityRepository) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.