You are here

public function ContentExporter::__construct in Commerce Demo 8

Same name and namespace in other branches
  1. 8.2 src/ContentExporter.php \Drupal\commerce_demo\ContentExporter::__construct()

Constructs a new ContentExporter object.

Parameters

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

File

src/ContentExporter.php, line 34

Class

ContentExporter
Defines the content exporter.

Namespace

Drupal\commerce_demo

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}