You are here

public function DrupalSqlBase::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

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

File

core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php, line 55
Contains \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase.

Class

DrupalSqlBase
A base source class for Drupal migrate sources.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityManagerInterface $entity_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state);
  $this->entityManager = $entity_manager;
}