function ContentEntityDeriver::__construct

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntityDeriver::__construct()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntityDeriver::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.