3 namespace Drupal\migrate_drupal\Plugin\migrate\source\d6;
5 use Drupal\Core\Entity\EntityManagerInterface;
6 use Drupal\Core\State\StateInterface;
7 use Drupal\migrate\Plugin\MigrationInterface;
10 * Gets Drupal i18n_variable source from database.
12 * @deprecated in Drupal 8.7.x and will be removed in Drupal 9.0.x.
13 * Use \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation.
15 * @see https://www.drupal.org/node/3006487
18 * id = "variable_translation",
19 * source_module = "system",
22 class D6VariableTranslation extends VariableTranslation {
27 public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityManagerInterface $entity_manager) {
28 @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);
29 parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_manager);