protected property FieldDiscovery::$bundleKeys in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/FieldDiscovery.php \Drupal\migrate_drupal\FieldDiscovery::bundleKeys
- 9 core/modules/migrate_drupal/src/FieldDiscovery.php \Drupal\migrate_drupal\FieldDiscovery::bundleKeys
An array of bundle keys, keyed by drupal core version.
In Drupal 6, only nodes were fieldable, and the bundles were called 'type_name'. In Drupal 7, everything became entities, and the more generic 'bundle' was used.
Type: array
File
- core/
modules/ migrate_drupal/ src/ FieldDiscovery.php, line 67
Class
- FieldDiscovery
- Provides field discovery for Drupal 6 & 7 migrations.
Namespace
Drupal\migrate_drupalCode
protected $bundleKeys = [
FieldDiscoveryInterface::DRUPAL_6 => 'type_name',
FieldDiscoveryInterface::DRUPAL_7 => 'bundle',
];