You are here

constant MigrateFieldPluginManager::DEFAULT_CORE_VERSION in Drupal 8

Same name and namespace in other branches
  1. 9 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;