You are here

class MigrateCckField in Zircon Profile 8

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

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\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
MigrateCckField::$id public property The plugin ID.
MigrateCckField::$type_map public property Map of D6 and D7 field types to D8 field type plugin IDs.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 2
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 1