function D6NodeDeriver::__construct

Same name in other branches
  1. 9 core/modules/node/src/Plugin/migrate/D6NodeDeriver.php \Drupal\node\Plugin\migrate\D6NodeDeriver::__construct()
  2. 8.9.x core/modules/node/src/Plugin/migrate/D6NodeDeriver.php \Drupal\node\Plugin\migrate\D6NodeDeriver::__construct()
  3. 10 core/modules/node/src/Plugin/migrate/D6NodeDeriver.php \Drupal\node\Plugin\migrate\D6NodeDeriver::__construct()

D6NodeDeriver constructor.

Parameters

string $base_plugin_id: The base plugin ID for the plugin ID.

bool $translations: Whether or not to include translations.

\Drupal\migrate_drupal\FieldDiscoveryInterface $field_discovery: The migration field discovery service.

File

core/modules/node/src/Plugin/migrate/D6NodeDeriver.php, line 52

Class

D6NodeDeriver
Deriver for Drupal 6 node and node revision migrations based on node types.

Namespace

Drupal\node\Plugin\migrate

Code

public function __construct($base_plugin_id, $translations, FieldDiscoveryInterface $field_discovery) {
    $this->basePluginId = $base_plugin_id;
    $this->includeTranslations = $translations;
    $this->fieldDiscovery = $field_discovery;
}

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