3 namespace Drupal\taxonomy\Plugin\migrate\cckfield;
5 @trigger_error('TaxonomyTermReference is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \Drupal\taxonomy\Plugin\migrate\field\TaxonomyTermReference instead.', E_USER_DEPRECATED);
7 use Drupal\migrate\Plugin\MigrationInterface;
8 use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
12 * id = "taxonomy_term_reference",
14 * "taxonomy_term_reference" = "entity_reference"
19 * @deprecated in Drupal 8.4.x, to be removed before Drupal 9.0.x. Use
20 * \Drupal\taxonomy\Plugin\migrate\field\TaxonomyTermReference instead.
22 * @see https://www.drupal.org/node/2751897
24 class TaxonomyTermReference extends CckFieldPluginBase {
29 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data) {
31 'plugin' => 'sub_process',
32 'source' => $field_name,
37 $migration->setProcessOfProperty($field_name, $process);