function D7NodeDeriver::create
Same name in other branches
- 9 core/modules/node/src/Plugin/migrate/D7NodeDeriver.php \Drupal\node\Plugin\migrate\D7NodeDeriver::create()
- 8.9.x core/modules/node/src/Plugin/migrate/D7NodeDeriver.php \Drupal\node\Plugin\migrate\D7NodeDeriver::create()
- 11.x core/modules/node/src/Plugin/migrate/D7NodeDeriver.php \Drupal\node\Plugin\migrate\D7NodeDeriver::create()
Overrides ContainerDeriverInterface::create
File
-
core/
modules/ node/ src/ Plugin/ migrate/ D7NodeDeriver.php, line 61
Class
- D7NodeDeriver
- Deriver for Drupal 7 node and node revision migrations based on node types.
Namespace
Drupal\node\Plugin\migrateCode
public static function create(ContainerInterface $container, $base_plugin_id) {
// Translations don't make sense unless we have content_translation.
return new static($base_plugin_id, $container->get('module_handler')
->moduleExists('content_translation'), $container->get('migrate_drupal.field_discovery'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.