public function D6VariableTranslation::__construct in Drupal 8
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 VariableTranslation::__construct
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ D6VariableTranslation.php, line 27
Class
- D6VariableTranslation
- Gets Drupal i18n_variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d6Code
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
@trigger_error('The ' . __NAMESPACE__ . '\\D6VariableTranslation is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Instead, use ' . __NAMESPACE__ . '\\VariableTranslation. See https://www.drupal.org/node/3006487.', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_type_manager);
}