3 namespace Drupal\migrate_drupal\Plugin;
5 @trigger_error('MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will
6 be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField
7 instead.', E_USER_DEPRECATED);
9 use Drupal\migrate\Plugin\MigrationInterface;
12 * Provides an interface for all CCK field type plugins.
14 * @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use
15 * \Drupal\migrate_drupal\Annotation\MigrateField instead.
17 interface MigrateCckFieldInterface extends MigrateFieldInterface {
20 * Apply any custom processing to the cck bundle migrations.
22 * @param \Drupal\migrate\Plugin\MigrationInterface $migration
23 * The migration entity.
24 * @param string $field_name
25 * The field name we're processing the value for.
27 * The array of field data from CckFieldValues::fieldData().
29 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data);