You are here

public function DrupalSqlBase::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__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 SqlBase::__construct

6 calls to DrupalSqlBase::__construct()
Color::__construct in core/modules/color/src/Plugin/migrate/source/d7/Color.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Node::__construct in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Node::__construct in core/modules/node/src/Plugin/migrate/source/d7/Node.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Variable::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

... See full list

6 methods override DrupalSqlBase::__construct()
Color::__construct in core/modules/color/src/Plugin/migrate/source/d7/Color.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Node::__construct in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Node::__construct in core/modules/node/src/Plugin/migrate/source/d7/Node.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
Variable::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

... See full list

File

core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php, line 65

Class

DrupalSqlBase
A base class for source plugins using a Drupal database as a source.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

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);
  $this->entityTypeManager = $entity_type_manager;
}