Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
MigrateCckField | |
100.00% |
1 / 1 |
|
100.00% |
0 / 0 |
0 | |
100.00% |
0 / 0 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\migrate_drupal\Annotation\MigrateCckField. | |
*/ | |
namespace Drupal\migrate_drupal\Annotation; | |
use Drupal\Component\Annotation\Plugin; | |
/** | |
* Defines a cckfield plugin annotation object. | |
* | |
* cckfield plugins are variously responsible for handling the migration of | |
* CCK fields from Drupal 6 to Drupal 8. They are allowed to alter CCK-related | |
* migrations when migrations are being generated, and can compute destination | |
* field types for individual fields during the actual migration process. | |
* | |
* Plugin Namespace: Plugin\migrate\cckfield | |
* | |
* @Annotation | |
*/ | |
class MigrateCckField extends Plugin { | |
/** | |
* The plugin ID. | |
* | |
* @var string | |
*/ | |
public $id; | |
/** | |
* Map of D6 and D7 field types to D8 field type plugin IDs. | |
* | |
* @var string[] | |
*/ | |
public $type_map = []; | |
} |