public function ContentImporter::__construct in Commerce Demo 8.2
Same name and namespace in other branches
- 8 src/ContentImporter.php \Drupal\commerce_demo\ContentImporter::__construct()
Constructs a new ContentImporter object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
File
- src/
ContentImporter.php, line 47
Class
- ContentImporter
- Defines the content importer.
Namespace
Drupal\commerce_demoCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
$this->contentPath = dirname(__DIR__) . '/content';
}