diff --git a/core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php b/core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php index bf9e51d..482ab4c 100644 --- a/core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php +++ b/core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php @@ -2,6 +2,7 @@ namespace Drupal\migrate_drupal\Plugin\migrate\cckfield; +use Drupal\migrate\Plugin\MigrationInterface; use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase; /** @@ -12,4 +13,20 @@ * * @ingroup migration */ -abstract class CckFieldPluginBase extends FieldPluginBase { } +abstract class CckFieldPluginBase extends FieldPluginBase { + + /** + * Apply any custom processing to the field 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 FieldValues::fieldData(). + */ + public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) { + return $this->processFieldValues($migration, $field_name, $data); + } + +}