MigrateFieldPluginManager::DEFAULT_CORE_VERSION

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager::DEFAULT_CORE_VERSION
  2. 8.9.x core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager::DEFAULT_CORE_VERSION
  3. 10 core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager::DEFAULT_CORE_VERSION

The default version of core to use for field plugins.

These plugins were initially only built and used for Drupal 6 fields. Having been extended for Drupal 7 with a "core" annotation, we fall back to Drupal 6 where none exists.

File

core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php, line 28

Class

MigrateFieldPluginManager
Plugin manager for migrate field plugins.

Namespace

Drupal\migrate_drupal\Plugin

Code

const DEFAULT_CORE_VERSION = 6;

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