NodeReference.php

Same filename in this branch
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php
  2. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php
Same filename and directory in other branches
  1. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php
  3. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php
  4. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php
  5. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php

Namespace

Drupal\migrate_drupal\Plugin\migrate\field

File

core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php

View source
<?php

namespace Drupal\migrate_drupal\Plugin\migrate\field;

use Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference as NonLegacyNodeReference;

/**
 * @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use
 * \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference instead.
 *
 * @see https://www.drupal.org/node/3159537
 */
class NodeReference extends NonLegacyNodeReference {
    
    /**
     * {@inheritdoc}
     */
    public function __construct(array $configuration, $plugin_id, $plugin_definition) {
        @trigger_error('The ' . __NAMESPACE__ . '\\NodeReference is deprecated in drupal:9.1.0 and will be removed from drupal:10.0.0. Instead use \\Drupal\\migrate_drupal\\Plugin\\migrate\\field\\d6\\NodeReference. See https://www.drupal.org/node/3159537.', E_USER_DEPRECATED);
        parent::__construct($configuration, $plugin_id, $plugin_definition);
    }

}

Classes

Title Deprecated Summary
NodeReference

in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference instead.


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