Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldDiscovery.php

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_drupal

Code

protected $bundleKeys = [
    FieldDiscoveryInterface::DRUPAL_6 => 'type_name',
    FieldDiscoveryInterface::DRUPAL_7 => 'bundle',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal