function VariableTranslation::__construct

Overrides DrupalSqlBase::__construct

1 call to VariableTranslation::__construct()
D6VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides VariableTranslation::__construct()
D6VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php, line 31

Class

VariableTranslation
Drupal i18n_variable source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d6

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state, $entity_type_manager);
  $this->variables = $this->configuration['variables'];
}

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