interface MigrateCckFieldInterface

Provides an interface for all CCK field type plugins.

Hierarchy

Expanded class hierarchy of MigrateCckFieldInterface

All classes that implement MigrateCckFieldInterface

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.

See also

https://www.drupal.org/node/2751897

2 files declare their use of MigrateCckFieldInterface
CckFieldPluginBase.php in core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php
FieldDiscovery.php in core/modules/migrate_drupal/src/FieldDiscovery.php

File

core/modules/migrate_drupal/src/Plugin/MigrateCckFieldInterface.php, line 17

Namespace

Drupal\migrate_drupal\Plugin
View source
interface MigrateCckFieldInterface extends MigrateFieldInterface {
    
    /**
     * Apply any custom processing to the cck bundle migrations.
     *
     * @param \Drupal\migrate\Plugin\MigrationInterface $migration
     *   The migration entity.
     * @param string $field_name
     *   The field name we're processing the value for.
     * @param array $data
     *   The array of field data from CckFieldValues::fieldData().
     */
    public function processCckFieldValues(MigrationInterface $migration, $field_name, $data);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
MigrateCckFieldInterface::processCckFieldValues public function Apply any custom processing to the cck bundle migrations. 1
MigrateFieldInterface::alterFieldFormatterMigration public function Apply any custom processing to the field formatter migration. 1
MigrateFieldInterface::alterFieldInstanceMigration public function Apply any custom processing to the field instance migration. 1
MigrateFieldInterface::alterFieldMigration public function Apply any custom processing to the field migration. 1
MigrateFieldInterface::alterFieldWidgetMigration public function Apply any custom processing to the field widget migration. 1
MigrateFieldInterface::defineValueProcessPipeline public function Apply any custom processing to the field bundle migrations. 1
MigrateFieldInterface::getFieldFormatterMap public function Get a map between D6 formatters and D8 formatters for this field type. 1
MigrateFieldInterface::getFieldFormatterType public function Get the field formatter type from the source. 1
MigrateFieldInterface::getFieldType public function Computes the destination type of a migrated field. 1
MigrateFieldInterface::getFieldWidgetMap public function Get a map between D6 and D8 widgets for this field type. 1
MigrateFieldInterface::getFieldWidgetType public function Get the field widget type from the source. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.