public function D7NodeDeriver::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/migrate/D7NodeDeriver.php \Drupal\node\Plugin\migrate\D7NodeDeriver::__construct()
D7NodeDeriver 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/ D7NodeDeriver.php, line 50
Class
- D7NodeDeriver
- Deriver for Drupal 7 node and node revision migrations based on node types.
Namespace
Drupal\node\Plugin\migrateCode
public function __construct($base_plugin_id, $translations, FieldDiscoveryInterface $field_discovery) {
$this->basePluginId = $base_plugin_id;
$this->includeTranslations = $translations;
$this->fieldDiscovery = $field_discovery;
}