class MigrateCckField in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/src/Annotation/MigrateCckField.php \Drupal\migrate_drupal\Annotation\MigrateCckField
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
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\migrate_drupal\Annotation\MigrateCckField
Expanded class hierarchy of MigrateCckField
Related topics
1 string reference to 'MigrateCckField'
- migrate_drupal.services.yml in core/
modules/ migrate_drupal/ migrate_drupal.services.yml - core/modules/migrate_drupal/migrate_drupal.services.yml
4 classes are annotated with MigrateCckField
- FileField in core/
modules/ file/ src/ Plugin/ migrate/ cckfield/ FileField.php - Plugin annotation @MigrateCckField( id = "filefield" )
- LinkField in core/
modules/ link/ src/ Plugin/ migrate/ cckfield/ LinkField.php - Plugin annotation @MigrateCckField( id = "link" )
- TaxonomyTermReference in core/
modules/ taxonomy/ src/ Plugin/ migrate/ cckfield/ TaxonomyTermReference.php - Plugin annotation @MigrateCckField( id = "taxonomy_term_reference" )
- TextField in core/
modules/ text/ src/ Plugin/ migrate/ cckfield/ TextField.php - Plugin annotation @MigrateCckField( id = "text" )
File
- core/
modules/ migrate_drupal/ src/ Annotation/ MigrateCckField.php, line 24 - Contains \Drupal\migrate_drupal\Annotation\MigrateCckField.
Namespace
Drupal\migrate_drupal\AnnotationView source
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 = [];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateCckField:: |
public | property | The plugin ID. | |
MigrateCckField:: |
public | property | Map of D6 and D7 field types to D8 field type plugin IDs. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
2 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 1 |