You are here

public function ContentEntityDeriver::__construct in Workbench Moderation to Content Moderation 8.2

EntityModerationStateDeriver constructor.

Parameters

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

1 call to ContentEntityDeriver::__construct()
ModerationDeriver::__construct in src/Plugin/Deriver/ModerationDeriver.php
EntityModerationStateDeriver constructor.
1 method overrides ContentEntityDeriver::__construct()
ModerationDeriver::__construct in src/Plugin/Deriver/ModerationDeriver.php
EntityModerationStateDeriver constructor.

File

src/Plugin/migrate/source/ContentEntityDeriver.php, line 27

Class

ContentEntityDeriver

Namespace

Drupal\wbm2cm\Plugin\migrate\source

Code

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