Chris@0: definition['core'])) { Chris@0: $this->definition['core'] = [6]; Chris@0: } Chris@0: } Chris@0: Chris@0: /** Chris@0: * The plugin ID. Chris@0: * Chris@0: * @var string Chris@0: */ Chris@0: public $id; Chris@0: Chris@0: /** Chris@0: * Map of D6 and D7 field types to D8 field type plugin IDs. Chris@0: * Chris@0: * @var string[] Chris@0: */ Chris@0: public $type_map = []; Chris@0: Chris@0: /** Chris@0: * The Drupal core version(s) this plugin applies to. Chris@0: * Chris@0: * @var int[] Chris@0: */ Chris@14: public $core; Chris@14: Chris@14: /** Chris@14: * Identifies the system providing the data the field plugin will read. Chris@14: * Chris@14: * The source_module is expected to be the name of a Drupal module that must Chris@16: * be installed in the source database. Chris@14: * Chris@14: * @var string Chris@14: */ Chris@14: public $source_module; Chris@14: Chris@14: /** Chris@14: * Identifies the system handling the data the destination plugin will write. Chris@14: * Chris@14: * The destination_module is expected to be the name of a Drupal module on the Chris@14: * destination site that must be installed. Chris@14: * Chris@14: * @var string Chris@14: */ Chris@14: public $destination_module; Chris@0: Chris@18: /** Chris@18: * The weight of this plugin relative to other plugins. Chris@18: * Chris@18: * The weight of this plugin relative to other plugins servicing the same Chris@18: * field type and core version. The lowest weighted applicable plugin will be Chris@18: * used for each field. Chris@18: * Chris@18: * @var int Chris@18: */ Chris@18: public $weight = 0; Chris@18: Chris@0: }