public function ContentEntityDeriver::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntityDeriver::__construct()
- 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\sourceCode
public function __construct($base_plugin_id, EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
}