function NodeReference::__construct
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ NodeReference.php, line 18
Class
Namespace
Drupal\migrate_drupal\Plugin\migrate\fieldCode
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.