You are here

public function ContentEntityDeriver::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntityDeriver::__construct()
  2. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntityDeriver::__construct()

Constructs a new ContentEntityDeriver.

Parameters

string $base_plugin_id: The base plugin ID.

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

File

core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php, line 31

Class

ContentEntityDeriver
Deriver for content entity source plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

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